Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2016 09:09:18 -0553.75
From:      "William A. Mahaffey III" <wam@hiwaay.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: [moved from toolchain] GCC5: pkg vs. ports
Message-ID:  <56B216D4.3060001@hiwaay.net>
In-Reply-To: <56B215F4.1020905@infracaninophile.co.uk>
References:  <56B20CA6.2080208@hiwaay.net> <56B215F4.1020905@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/03/16 09:06, Matthew Seaman wrote:
> On 2016/02/03 14:18, William A. Mahaffey III wrote:
>> I just did a full 'pkg upgrade' on my FBSD 9.3R box, which installed the
>> newest GCC5. I also updated ports. When I used the pkg-provided GCC5, it
>> doesn't have graphite support enabled, so no auto-parallelization. When
>> I checked the port w/ make showconfig. it shows graphite enabled. I am
>> recompiling it as I write this, but I thought the pkg was/is configured
>> from the port & would have graphite enabled by default, w/ no recompile
>> needed on my part, no ? I have the various other pkg's req'd for
>> graphite support pkg-installed (& just updated this A.M.), so I thought
>> I was ready to go. Not a huge issue, but recompiling the compiler shoots
>> about an hour on my box, would be sweet to avoid that. TIA for any clues
>> & have a good one.
> Unless you've your own poudriere setup, upgrading using binary packages
> will always get you the default options for everything you install --
> what's in any ports tree or any option settings you have locally makes
> no difference.
>
> If you are using poudriere, then remember to set options using
> 'poudriere options -c some/package' -- it doesn't automatically pick up
> options you make from the ports tree.
>
> Well, not unless you've been terribly cunning and done something like
> creating a symbolic link like so:
>
> # cd /usr/local/etc/poudriere
> # mv -f options options.old
> # ln -s /var/db/ports options
>
> 	Cheers,
>
> 	Matthew


Thanks, I am not running poudriere, I am only using ports for gcc5-devel 
to enable graphite support, everything else is pkg-maintained.


-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.




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