Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2013 19:01:48 +0200
From:      Eitan Adler <eadler@freebsd.org>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        svn-ports-head@freebsd.org, Alexey Dokuchaev <danfe@freebsd.org>, svn-ports-all@freebsd.org, William Grzybowski <wg@freebsd.org>, ports-committers <ports-committers@freebsd.org>, Sunpoet Po-Chuan Hsieh <sunpoet@freebsd.org>
Subject:   Re: svn commit: r320832 - head/net-mgmt/bandwidthd
Message-ID:  <CAF6rxg=LitMTNhi5%2Bz-QyrDsJSP3=EMND-tQ_v3dPYY2RtfjSg@mail.gmail.com>
In-Reply-To: <20130614153755.GC72830@ithaqua.etoilebsd.net>
References:  <201306131905.r5DJ5Scv074032@svn.freebsd.org> <CAF6rxgnv9ntqAPAXCgW=9kXC-AwHMHLTpEr%2B3S_McF=4-2bbSw@mail.gmail.com> <20130614065523.GA98995@FreeBSD.org> <CAMHz58QEyobAZW=b7LDtRjHvNy4YqmCW-ObgN498X4YPw1B=DQ@mail.gmail.com> <20130614153755.GC72830@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 14, 2013 at 5:37 PM, Baptiste Daroussin <bapt@freebsd.org> wrote:
> On Fri, Jun 14, 2013 at 10:56:57PM +0800, Sunpoet Po-Chuan Hsieh wrote:
>> Try this (cited from lang/v8/Makefile)
>>
>> .if ${CC:T:Mclang} == "clang" || ${CXX:T:Mclang++} == "clang++" ||
>> ${OSVERSION} >= 1000024
>> ...
>> .endif
>>
>> Regards,
>>
>
> There is only one single way to reliably determine what will be the compiler
> which what you find in devel/boost-all/compiler.mk, with the limitation that you
> can't use that to determine dependencies base on the compiler type because
> tinderbox/pointyhat have a design bug that makes them testing this first on the
> host and not on the destination.

Source has COMPILER_TYPE.  It would be nice if b.p.m also set this.

-- 
Eitan Adler
Source, Ports, Doc committer
Bugmeister, Ports Security teams



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxg=LitMTNhi5%2Bz-QyrDsJSP3=EMND-tQ_v3dPYY2RtfjSg>