[59996] trunk/dports/multimedia/mplayer-devel/Portfile

ecronin at macports.org ecronin at macports.org
Wed Oct 28 16:21:03 PDT 2009


Revision: 59996
          http://trac.macports.org/changeset/59996
Author:   ecronin at macports.org
Date:     2009-10-28 16:21:02 -0700 (Wed, 28 Oct 2009)
Log Message:
-----------
multimedia/mplayer-devel: move the 32-bit/64-bit fix to all platforms

Modified Paths:
--------------
    trunk/dports/multimedia/mplayer-devel/Portfile

Modified: trunk/dports/multimedia/mplayer-devel/Portfile
===================================================================
--- trunk/dports/multimedia/mplayer-devel/Portfile	2009-10-28 23:03:07 UTC (rev 59995)
+++ trunk/dports/multimedia/mplayer-devel/Portfile	2009-10-28 23:21:02 UTC (rev 59996)
@@ -82,6 +82,15 @@
 
 patchfiles configure.x11.patch 
 
+pre-configure {
+    if { ${configure.build_arch} == "x86_64" } {
+        configure.args-delete   --enable-qtx
+        configure.args-append   --target=x86_64-Darwin --disable-qtx
+    } elseif { ${configure.build_arch} == "i386" } {
+        configure.args-append   --target=i386-Darwin
+    }
+}
+
 post-destroot {
     xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
     eval file copy [glob ${worksrcpath}/DOCS/*] \
@@ -268,13 +277,3 @@
     configure.args-delete   --extra-cflags="-I${prefix}/include/lzo -I${prefix}/include"
     configure.args-append   --extra-cflags="-fomit-frame-pointer -I${prefix}/include/lzo -I${prefix}/include"
 }
-
-platform darwin 10 {
-    if { ${configure.build_arch} == "x86_64" } {
-        configure.args-append   --target=x86_64-Darwin
-    } elseif { ${configure.build_arch} == "i386" } {
-        configure.args-append   --target=i386-Darwin
-    }
-    configure.args-append   --disable-qtx
-    configure.args-delete   --enable-qtx
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091028/de197d9c/attachment.html>


More information about the macports-changes mailing list