[60671] trunk/dports/www/firefox-x11-devel/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Thu Nov 19 12:35:49 PST 2009
Revision: 60671
http://trac.macports.org/changeset/60671
Author: jeremyhu at macports.org
Date: 2009-11-19 12:35:48 -0800 (Thu, 19 Nov 2009)
Log Message:
-----------
firefox-x11-devel: Work around some linking issues when building on 64bit SL
Modified Paths:
--------------
trunk/dports/www/firefox-x11-devel/Portfile
Modified: trunk/dports/www/firefox-x11-devel/Portfile
===================================================================
--- trunk/dports/www/firefox-x11-devel/Portfile 2009-11-19 20:35:13 UTC (rev 60670)
+++ trunk/dports/www/firefox-x11-devel/Portfile 2009-11-19 20:35:48 UTC (rev 60671)
@@ -114,8 +114,24 @@
# Force 32-bit, inline-asm
if {$build_arch == "x86_64"} {
configure.build_arch i386
+
+ # Yes, this is ugly... but the real fix is in the works
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=529878
+ configure.cc ${configure.cc} -arch i386
+ configure.cxx ${configure.cxx} -arch i386
+
+ # Take this out when we ship >1.8.1
+ configure.ldflags-append -arch i386
} elseif {$build_arch == "ppc64"} {
configure.build_arch ppc
+
+ # Yes, this is ugly... but the real fix is in the works
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=529878
+ configure.cc ${configure.cc} -arch ppc
+ configure.cxx ${configure.cxx} -arch ppc
+
+ # Take this out when we ship >1.8.1
+ configure.ldflags-append -arch ppc
}
variant debug description {build with debugging symbols} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091119/d9432a0b/attachment.html>
More information about the macports-changes
mailing list