Author: jbeich
Date: Mon Apr  1 22:32:29 2013
New Revision: 1227

Log:
workaround leaky environment on pointyhat's make index

Submitted by:   antoine

Modified:
   trunk/Mk/bsd.gecko.mk

Modified: trunk/Mk/bsd.gecko.mk
==============================================================================
--- trunk/Mk/bsd.gecko.mk       Mon Apr  1 04:59:24 2013        (r1226)
+++ trunk/Mk/bsd.gecko.mk       Mon Apr  1 22:32:29 2013        (r1227)
@@ -545,13 +545,13 @@
 
 .if ${MOZILLA_VER:R:R} >= 19 || ${MOZILLA:Mseamonkey*}
 # prefer base clang, for lang/clang{,-devel} see ports/177224
-. if ${CC} == "cc" && exists(/usr/bin/clang)
+. if ${CC} == "cc" && (exists(/usr/bin/clang) && ${OSVERSION} >= 900014)
 CC=                            /usr/bin/clang
 . endif
-. if ${CXX} == "c++" && exists(/usr/bin/clang++)
+. if ${CXX} == "c++" && (exists(/usr/bin/clang++) && ${OSVERSION} >= 900014)
 CXX=                   /usr/bin/clang++
 . endif
-. if ${CPP} == "cpp" && exists(/usr/bin/clang-cpp)
+. if ${CPP} == "cpp" && (exists(/usr/bin/clang-cpp) && ${OSVERSION} >= 900045)
 CPP=                   /usr/bin/clang-cpp
 . endif
 . if ${CC} != "cc" && ${CPP} == "cpp"
_______________________________________________
freebsd-gecko@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"

Reply via email to