Revision
74147
Author
jmr@macports.org
Date
2010-12-05 17:51:04 -0800 (Sun, 05 Dec 2010)

Log Message

babl, gegl: explicitly pass --build on x86_64 to avoid MMX errors (#20906)

Modified Paths

Diff

Modified: trunk/dports/graphics/babl/Portfile (74146 => 74147)


--- trunk/dports/graphics/babl/Portfile	2010-12-06 01:49:33 UTC (rev 74146)
+++ trunk/dports/graphics/babl/Portfile	2010-12-06 01:51:04 UTC (rev 74147)
@@ -28,9 +28,10 @@
 depends_build   port:w3m \
                 port:librsvg
 
-platform darwin 10 {
-    # workaround for ticket #20906
-    configure.args  --disable-mmx
+platform darwin {
+    if {$build_arch == "x86_64"} {
+        configure.args-append --build=${build_arch}-apple-${os.platform}${os.version}
+    }
 }
 
 livecheck.type  regex

Modified: trunk/dports/graphics/gegl/Portfile (74146 => 74147)


--- trunk/dports/graphics/gegl/Portfile	2010-12-06 01:49:33 UTC (rev 74146)
+++ trunk/dports/graphics/gegl/Portfile	2010-12-06 01:51:04 UTC (rev 74147)
@@ -48,9 +48,10 @@
 
 configure.args  --disable-docs
 
-platform darwin 10 {
-    # workaround for ticket #20906
-    configure.args-append  --disable-mmx
+platform darwin {
+    if {$build_arch == "x86_64"} {
+        configure.args-append --build=${build_arch}-apple-${os.platform}${os.version}
+    }
 }
 
 variant html_doc description {Build html docs with enscript and asciidoc} {