Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2013 14:01:28 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r315676 - head/Mk
Message-ID:  <201304021401.r32E1SAG014013@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304021401.r32E1SAG014013>