[79727] trunk/dports/www/firefox-x11-devel/Portfile
Revision: 79727 http://trac.macports.org/changeset/79727 Author: jeremyhu@macports.org Date: 2011-06-23 23:36:58 -0700 (Thu, 23 Jun 2011) Log Message: ----------- firefox-x11-devel: darwin11 build fix Modified Paths: -------------- trunk/dports/www/firefox-x11-devel/Portfile Modified: trunk/dports/www/firefox-x11-devel/Portfile =================================================================== --- trunk/dports/www/firefox-x11-devel/Portfile 2011-06-24 01:08:37 UTC (rev 79726) +++ trunk/dports/www/firefox-x11-devel/Portfile 2011-06-24 06:36:58 UTC (rev 79727) @@ -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 } @@ -228,7 +231,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}" \
participants (1)
-
jeremyhu@macports.org