Re: ports include /etc/src.conf? i.e. graphics/libfpx

From: Tom Evans <tevans.uk_at_googlemail.com>
Date: Wed, 13 Feb 2013 13:33:56 +0000
On Wed, Feb 13, 2013 at 12:30 PM, Yamaya Takashi
<yamayan_at_kbh.biglobe.ne.jp> wrote:
> On 2013/02/13 19:08, O. Hartmann wrote:
>> Setting only base system source compiler optins in /etc/src.conf, for
>> instance
>>
>> #
>> CXXFLAGS+=              -stdlib=libc++
>> CXXFLAGS+=              -std=c++11
>>
>>
>> which do NOT appear in /etc/make.conf, make building port
>> grahpics/libfpx complaining about unrecognized compiler options.
>>
>> As far a sI know, /etc/src.conf is ONLY for building the source tree of
>> the operating system and make.conf is supposed to contain all stuff
>> necessary for compiling both world and ports, but /etc/src.conf is world
>> only.
>>
>> Am I wrong?
>>
>> Oliver
>>
> Yes.
> Because files/Makefile.bsd includes <bsd.lib.mk>,
> /etc/src.conf is included.
>
>

src.conf(5) says:

  The only purpose of src.conf is to control the compilation of the FreeBSD
  source code, which is usually located in /usr/src.

Cheers

Tom
Received on Wed Feb 13 2013 - 12:34:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC