Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Nov 2012 06:29:30 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        "Jason E. Hale" <jhale@freebsd.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org, Dima Panov <fluffy@freebsd.org>
Subject:   Re: svn commit: r307701 - head/graphics/vigra
Message-ID:  <20121124062930.GA43910@FreeBSD.org>
In-Reply-To: <23752824.Nt9BvllcTf@mocha.verizon.net>
References:  <201211240225.qAO2PdBV045963@svn.freebsd.org> <23752824.Nt9BvllcTf@mocha.verizon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 24, 2012 at 01:17:16AM -0500, Jason E. Hale wrote:
> I think it would be better to avoid the '!=' expansion and check for
> clang/clang++ with something like this:
> 
> .if ${CC:T:Mclang} != "clang" && ${CXX:T:Mclang++} != "clang++"
> USE_GCC=        4.6+
> .endif

Perhaps it makes sence to add snippets like this one to wiki (or maybe
even provide some standard knob in bpm), as there probably would be more
cases like when newish FreeBSD system compiler is fine (clang), but for
older version newer gcc should be installed from ports.

./danfe



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