[65108] trunk/dports/multimedia/mp4v2
ryandesign at macports.org
ryandesign at macports.org
Mon Mar 22 05:27:33 PDT 2010
Revision: 65108
http://trac.macports.org/changeset/65108
Author: ryandesign at macports.org
Date: 2010-03-22 05:27:31 -0700 (Mon, 22 Mar 2010)
Log Message:
-----------
mp4v2: fix build on Tiger; see #21007
Modified Paths:
--------------
trunk/dports/multimedia/mp4v2/Portfile
Added Paths:
-----------
trunk/dports/multimedia/mp4v2/files/
trunk/dports/multimedia/mp4v2/files/mp4v2-1.9.1-libversion.patch
Modified: trunk/dports/multimedia/mp4v2/Portfile
===================================================================
--- trunk/dports/multimedia/mp4v2/Portfile 2010-03-22 12:16:10 UTC (rev 65107)
+++ trunk/dports/multimedia/mp4v2/Portfile 2010-03-22 12:27:31 UTC (rev 65108)
@@ -5,7 +5,7 @@
name mp4v2
version 1.9.1
-revision 1
+revision 2
categories multimedia
maintainers gmail.com:cedric.luthi
description Read, create, and modify mp4 files.
@@ -26,6 +26,8 @@
use_bzip2 yes
+patchfiles mp4v2-1.9.1-libversion.patch
+
variant universal {
configure.args-append --disable-gch
}
Added: trunk/dports/multimedia/mp4v2/files/mp4v2-1.9.1-libversion.patch
===================================================================
--- trunk/dports/multimedia/mp4v2/files/mp4v2-1.9.1-libversion.patch (rev 0)
+++ trunk/dports/multimedia/mp4v2/files/mp4v2-1.9.1-libversion.patch 2010-03-22 12:27:31 UTC (rev 65108)
@@ -0,0 +1,50 @@
+diff -Nru ../mp4v2-1.9.1-orig/GNUmakefile.in ./GNUmakefile.in
+--- ../mp4v2-1.9.1-orig/GNUmakefile.in 2009-07-14 02:25:44.000000000 +0300
++++ ./GNUmakefile.in 2009-10-10 11:12:15.000000000 +0300
+@@ -393,7 +393,6 @@
+ X_GCH_STATIC = @X_GCH_STATIC@
+ X_GCH_STATIC_FLAGS = @X_GCH_STATIC_FLAGS@
+ X_MINGW_LIBS = @X_MINGW_LIBS@
+-X_libmp4v2_la_LDFLAGS = @X_libmp4v2_la_LDFLAGS@
+ ac_ct_CC = @ac_ct_CC@
+ ac_ct_CXX = @ac_ct_CXX@
+ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+@@ -443,7 +442,7 @@
+ lib_LTLIBRARIES = libmp4v2.la
+
+ ###############################################################################
+-libmp4v2_la_LDFLAGS = -version-number $(PROJECT_version_major):$(PROJECT_version_minor):$(PROJECT_version_point) $(X_libmp4v2_la_LDFLAGS)
++libmp4v2_la_LDFLAGS = -version-number $(PROJECT_version_major):$(PROJECT_version_minor):$(PROJECT_version_point)
+ libmp4v2_la_SOURCES = src/3gp.cpp src/atom_ac3.cpp src/atom_amr.cpp \
+ src/atom_avc1.cpp src/atom_avcC.cpp src/atom_chpl.cpp \
+ src/atom_colr.cpp src/atom_d263.cpp src/atom_dac3.cpp \
+diff -Nru ../mp4v2-1.9.1-orig/configure ./configure
+--- ../mp4v2-1.9.1-orig/configure 2009-07-14 02:25:42.000000000 +0300
++++ ./configure 2009-10-10 11:12:19.000000000 +0300
+@@ -810,7 +810,6 @@
+ X_GCH_STATIC
+ X_GCH_FLAGS
+ X_GCH
+-X_libmp4v2_la_LDFLAGS
+ PROJECT_build
+ PROJECT_repo_type
+ PROJECT_repo_date
+@@ -14149,18 +14148,6 @@
+ CXXFLAGS="$CXXFLAGS_GGDB3"
+ fi
+
+-###############################################################################
+-# additional ldflags
+-###############################################################################
+-
+-case ${host} in
+- *-*-darwin*)
+- X_libmp4v2_la_LDFLAGS='-Wl,-current_version,$(PROJECT_version_major).$(PROJECT_version_minor).$(PROJECT_version_point) -Wl,-compatibility_version,$(PROJECT_version_major).0.0'
+- ;;
+- *)
+- X_libmp4v2_la_LDFLAGS=
+- ;;
+-esac
+
+
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100322/b275aa1e/attachment.html>
More information about the macports-changes
mailing list