From ec5ac68df194e17347e62431b787b3abf1b0ad80 Mon Sep 17 00:00:00 2001 From: miwi Date: Tue, 2 Apr 2013 14:01:27 +0000 Subject: - Add a workaround for leaky environment's make index (this unbreaks all gecko@ for FreeBSD-8 on pointyhat) Reported by: pointyhat Tested with: pointyhat/poudriere oked by: flo (gecko@) Submitted by: antoine (thx!) Approved by: portmgr --- Mk/bsd.gecko.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Mk') diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk index b54be8561ffe..b7380380d03b 100644 --- a/Mk/bsd.gecko.mk +++ b/Mk/bsd.gecko.mk @@ -553,15 +553,15 @@ LDFLAGS+= -Wl,-rpath,${PREFIX}/lib/${MOZ_RPATH} .if ${MOZILLA_VER:R:R} >= 19 || ${MOZILLA:Mseamonkey*} # prefer clang -. if ${CC} == "cc" && (exists(/usr/bin/clang) || \ +. if ${CC} == "cc" && (exists(/usr/bin/clang) && ${OSVERSION} >= 900014 || \ exists(${LOCALBASE}/bin/clang)) CC= clang . endif -. if ${CXX} == "c++" && (exists(/usr/bin/clang++) || \ +. if ${CXX} == "c++" && (exists(/usr/bin/clang++) && ${OSVERSION} >= 900014 || \ exists(${LOCALBASE}/bin/clang++)) CXX= clang++ . endif -. if ${CPP} == "cpp" && (exists(/usr/bin/clang-cpp) || \ +. if ${CPP} == "cpp" && (exists(/usr/bin/clang-cpp) && ${OSVERSION} >= 900014 || \ exists(${LOCALBASE}/bin/clang-cpp)) CPP= clang-cpp . endif -- cgit