Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2013 16:05:35 +0200
From:      Kimmo Paasiala <kpaasial@gmail.com>
To:        Tom Evans <tevans.uk@googlemail.com>
Cc:        "free >> Current FreeBSD" <freebsd-current@freebsd.org>, "O. Hartmann" <ohartman@zedat.fu-berlin.de>, Ports FreeBSD <freebsd-ports@freebsd.org>, Yamaya Takashi <yamayan@kbh.biglobe.ne.jp>
Subject:   Re: ports include /etc/src.conf? i.e. graphics/libfpx
Message-ID:  <CA%2B7WWSfOHnYow56BggaG6_T8hGY9GZKTzuT_E7=LWex2Th0XQQ@mail.gmail.com>
In-Reply-To: <CAFHbX1Lg4w8g30DrcEbvm%2B6sFvTDpRAt7OouBBBUs1iiMaEL5g@mail.gmail.com>
References:  <511B662C.7030602@zedat.fu-berlin.de> <511B874A.7080901@kbh.biglobe.ne.jp> <CAFHbX1Lg4w8g30DrcEbvm%2B6sFvTDpRAt7OouBBBUs1iiMaEL5g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 13, 2013 at 3:33 PM, Tom Evans <tevans.uk@googlemail.com> wrote:
> On Wed, Feb 13, 2013 at 12:30 PM, Yamaya Takashi
> <yamayan@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

If this is taken literally then could it be said that ports that use
bsd.lib.mk are broken because they are using makefile includes from
the source tree?

-Kimmo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B7WWSfOHnYow56BggaG6_T8hGY9GZKTzuT_E7=LWex2Th0XQQ>