[79728] trunk/dports/www/firefox-x11/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Thu Jun 23 23:38:05 PDT 2011
Revision: 79728
http://trac.macports.org/changeset/79728
Author: jeremyhu at macports.org
Date: 2011-06-23 23:38:04 -0700 (Thu, 23 Jun 2011)
Log Message:
-----------
firefox-x11: darwin11 build fix
Modified Paths:
--------------
trunk/dports/www/firefox-x11/Portfile
Modified: trunk/dports/www/firefox-x11/Portfile
===================================================================
--- trunk/dports/www/firefox-x11/Portfile 2011-06-24 06:36:58 UTC (rev 79727)
+++ trunk/dports/www/firefox-x11/Portfile 2011-06-24 06:38:04 UTC (rev 79728)
@@ -114,7 +114,10 @@
# xpctools and necko-wifi broke in 3.6b1
# gcc-4.0 has issues, so force gcc-4.2 on Leopard
-if {${configure.compiler} == "gcc-4.0"} {
+# inline asm is bad, and llvm complains,
+if {${configure.compiler} == "gcc-4.0" ||
+ ${configure.compiler} == "llvm-gcc-4.2" ||
+ ${configure.compiler} == "clang"} {
configure.compiler gcc-4.2
}
@@ -230,7 +233,8 @@
configure.env \
MOZCONFIG="${worksrcpath}/browser/config/mozconfig" \
- MOZILLA_FIVE_HOME="${prefix}/lib/${pkg_name}"
+ MOZILLA_FIVE_HOME="${prefix}/lib/${pkg_name}" \
+ _MACOSX_DEPLOYMENT_TARGET="${macosx_deployment_target}"
build.args-append \
includedir="${prefix}/include/${pkg_name}" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110623/8409ee32/attachment-0001.html>
More information about the macports-changes
mailing list