[57672] trunk/dports/multimedia/x264/Portfile

jmr at macports.org jmr at macports.org
Mon Sep 14 13:16:54 PDT 2009


Revision: 57672
          http://trac.macports.org/changeset/57672
Author:   jmr at macports.org
Date:     2009-09-14 13:16:53 -0700 (Mon, 14 Sep 2009)
Log Message:
-----------
x264: configure is not autoconf, so we actually do need to use --host instead of the usual --build. Also need to add the archflags to LDFLAGS.

Modified Paths:
--------------
    trunk/dports/multimedia/x264/Portfile

Modified: trunk/dports/multimedia/x264/Portfile
===================================================================
--- trunk/dports/multimedia/x264/Portfile	2009-09-14 19:54:11 UTC (rev 57671)
+++ trunk/dports/multimedia/x264/Portfile	2009-09-14 20:16:53 UTC (rev 57672)
@@ -33,6 +33,7 @@
                  --enable-pic \
                  --enable-shared \
                  --disable-asm
+configure.ldflags-append ${configure.cc_archflags}
 
 # asm works with a 64-bit snow leopard build
 
@@ -41,7 +42,7 @@
         configure.args-delete   --disable-asm
 }
 if {${os.platform} == "darwin" && $build_arch != ""} {
-    configure.args-append   --build=${build_arch}-apple-darwin${os.major}
+    configure.args-append   --host=${build_arch}-apple-darwin${os.major}
 }
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090914/f5ff8733/attachment.html>


More information about the macports-changes mailing list