svn commit: r320832 - head/net-mgmt/bandwidthd
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Jun 14 14:57:24 UTC 2013
Try this (cited from lang/v8/Makefile)
.if ${CC:T:Mclang} == "clang" || ${CXX:T:Mclang++} == "clang++" ||
${OSVERSION} >= 1000024
...
.endif
Regards,
On Fri, Jun 14, 2013 at 2:55 PM, Alexey Dokuchaev <danfe at freebsd.org> wrote:
> On Thu, Jun 13, 2013 at 11:18:28PM +0200, Eitan Adler wrote:
> > On Thu, Jun 13, 2013 at 9:05 PM, William Grzybowski <wg at freebsd.org>
> wrote:
> >
> > > -.if ${CC} == "clang"
> >
> > Thank you for changing this. FWIW if you *do* need to detect clang
> > this check is incorrect.
> >
> > The idiom ${CC:T:Mclang} == "clang") is required in order to allow
> > absolute paths, etc.
>
> Well, these checks are obsolete on -CURRENT where Clang is installed as
> default compiler (cc).
>
> ./danfe
>
--
Sunpoet Po-Chuan Hsieh <sunpoet at sunpoet.net> <sunpoet at FreeBSD.org>
4096R/CC57E36B 8AD8 68F2 7D2B 0A10 7E9B 8CC0 DC44 247E CC57 E36B
http://people.FreeBSD.org/~sunpoet/pgpkeys.txt
More information about the svn-ports-head
mailing list