From owner-freebsd-gecko@FreeBSD.ORG Mon Apr 1 22:32:43 2013 Return-Path: Delivered-To: freebsd-gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7B144441 for ; Mon, 1 Apr 2013 22:32:43 +0000 (UTC) (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: from trillian.chruetertee.ch (trillian.chruetertee.ch [217.150.245.56]) by mx1.freebsd.org (Postfix) with ESMTP id 16D6D68C for ; Mon, 1 Apr 2013 22:32:42 +0000 (UTC) Received: from trillian.chruetertee.ch (trillian [217.150.245.56]) by trillian.chruetertee.ch (8.14.4/8.14.3) with ESMTP id r31MWY50053769 for ; Mon, 1 Apr 2013 22:32:34 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: (from www@localhost) by trillian.chruetertee.ch (8.14.4/8.14.3/Submit) id r31MWTsF053589 for freebsd-gecko@freebsd.org; Mon, 1 Apr 2013 22:32:29 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Date: Mon, 1 Apr 2013 22:32:29 GMT Message-Id: <201304012232.r31MWTsF053589@trillian.chruetertee.ch> X-Authentication-Warning: trillian.chruetertee.ch: www set sender to svn-freebsd-gecko@chruetertee.ch using -f From: svn-freebsd-gecko@chruetertee.ch To: freebsd-gecko@freebsd.org Subject: [SVN-Commit] r1227 - trunk/Mk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: freebsd-gecko@freebsd.org List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Apr 2013 22:32:43 -0000 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"