Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Sep 2013 17:39:30 +0200
From:      Oliver Lehmann <oliver@freebsd.org>
To:        Alexey Dokuchaev <danfe@freebsd.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r326685 - in head: devel/mercator math/wfmath
Message-ID:  <20130908173930.Horde.pCVXzy4T-cXp8PC2LonKxg2@avocado.salatschuessel.net>
In-Reply-To: <20130908145110.GB46281@FreeBSD.org>
References:  <201309072043.r87KhjYi068970@svn.freebsd.org> <20130908033306.GA54749@FreeBSD.org> <20130908115253.Horde.idQUkFxUdsyF3rNQX9eeBA2@avocado.salatschuessel.net> <20130908145110.GB46281@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Alexey Dokuchaev <danfe@freebsd.org> wrote:

>> >2) why is it hard to create a proper patch instead;
>>
>> Why? I can't tell, I'm sorry - I just was not able to fix the clang
>> compilation problems otherwise.
>
> Again, it's hard to understand that without the documenting why USE_GCC was
> used in the first place.  Second, given the suggestion of simply removing
> misused CONFIGURE_ARGS (and provided that it does indeed solve the issue),
> I find it a bit hard to believe you could not have come up with it yourself
> Oliver. ;-)

devel/mercator got USE_GCC as otherwise it wouldn't compile with a  
gcc-compiled
math/wfmath. And math/wfmath got USE_GCC as I'm not able to fix those issues:

http://beefy1.isc.freebsd.org/bulk/head-default/2013-09-04_23h56m58s/logs/wfmath-1.0.1.log

math/wfmath has no CONFIGURE_ARGS to remove (devel/mercator has).

>> >3) is it really necessary to set USE_GCC to "yes", not "any"?
>>
>> This is what the header of bsd.gcc.mk suggests. If "any" is prefered over
>> "yes", it should be stated somewhere in the top of bsd.gcc.mk - maybe in
>> the Examples section which is where I always look first.
>
> "yes" and "any" do different things, it's not the matter of style.  "yes"
> means to use modern GCC compiler, even on systems that still use GCC as
> a system one by default (e.g. 8.x, 9.x).  "any" means that literally any
> GCC version would suffice, which means that on our stable branches, I do
> not have to install some GCC 4.6+ since I already gave GCC 4.2 in the base.

I looked the differenc between "any" and "yes"t already up after you told me
about "any" the first time by searching bsd.gcc.mk. I still think that it
would be better to have "any" also documented in bsd.gcc.mk at the top.
Maybe in the Examples section - how should anyone know about the two switches
and their meanings?

   Greetings Oliver



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130908173930.Horde.pCVXzy4T-cXp8PC2LonKxg2>