[moved from toolchain] GCC5: pkg vs. ports

Freddie Cash fjwcash at gmail.com
Wed Feb 3 16:34:06 UTC 2016


On Wed, Feb 3, 2016 at 6:59 AM, William A. Mahaffey III <wam at hiwaay.net>
wrote:

> On 02/03/16 08:49, Torsten Zuehlsdorff wrote:
>
>>
>> On 03.02.2016 15:18, William A. Mahaffey III wrote:
>>
>>> When I checked the port w/ make showconfig. it shows graphite enabled.
>>>
>>
>> make showconfig shows the configuration at your *local* portstree. It
>> does not affect or display the settings of pkg.
>>
>> To check the configuration of "pkg-ports" perform a:
>> $ pkg info gcc5
>>
>> Greetings,
>> Torsten
>> _______________________________________________
>> freebsd-ports at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>>
>>
>
> Thanks. Where is the local portstree info stored ? My local (newly
> updated) ports gcc5-devel shows graphite enabled (see previous response), I
> thought a 'portsnap fetch update' would overwrite that, no ? Thanks (again)
> & TIA & have a good one ....


​/var/db/ports​/<portname>/options

That's the file that is read when you run "make showconfig" in a port
directory.  If the file doesn't exist, then it shows the default options
from the Makefile.

"make rmconfig" will remove that saved options file.  Then a "make
showconfig" will show you the default options for the port.

This is all detailed in "man ports".  :)


-- 
Freddie Cash
fjwcash at gmail.com


More information about the freebsd-ports mailing list