svn commit: r315676 - head/Mk
Martin Wilke
miwi at FreeBSD.org
Tue Apr 2 14:01:28 UTC 2013
Author: miwi
Date: Tue Apr 2 14:01:27 2013
New Revision: 315676
URL: http://svnweb.freebsd.org/changeset/ports/315676
Log:
- 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
Modified:
head/Mk/bsd.gecko.mk
Modified: head/Mk/bsd.gecko.mk
==============================================================================
--- head/Mk/bsd.gecko.mk Tue Apr 2 14:00:37 2013 (r315675)
+++ head/Mk/bsd.gecko.mk Tue Apr 2 14:01:27 2013 (r315676)
@@ -553,15 +553,15 @@ LDFLAGS+= -Wl,-rpath,${PREFIX}/lib/${MO
.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
More information about the svn-ports-all
mailing list