Date: Wed, 13 Feb 2013 17:22:05 +0100 From: "O. Hartmann" <ohartman@zedat.fu-berlin.de> To: Kimmo Paasiala <kpaasial@gmail.com> Cc: Tom Evans <tevans.uk@googlemail.com>, "free >> Current FreeBSD" <freebsd-current@freebsd.org>, 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: <511BBDAD.1080806@zedat.fu-berlin.de> In-Reply-To: <CA%2B7WWSfOHnYow56BggaG6_T8hGY9GZKTzuT_E7=LWex2Th0XQQ@mail.gmail.com> References: <511B662C.7030602@zedat.fu-berlin.de> <511B874A.7080901@kbh.biglobe.ne.jp> <CAFHbX1Lg4w8g30DrcEbvm%2B6sFvTDpRAt7OouBBBUs1iiMaEL5g@mail.gmail.com> <CA%2B7WWSfOHnYow56BggaG6_T8hGY9GZKTzuT_E7=LWex2Th0XQQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig16EF04B6596D2D5B904D0E68 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 02/13/13 15:05, schrieb Kimmo Paasiala: > On Wed, Feb 13, 2013 at 3:33 PM, Tom Evans <tevans.uk@googlemail.com> w= rote: >> 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, fo= r >>>> instance >>>> >>>> # >>>> CXXFLAGS+=3D -stdlib=3Dlibc++ >>>> CXXFLAGS+=3D -std=3Dc++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 w= orld >>>> 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 Fr= eeBSD >> source code, which is usually located in /usr/src. >> >> Cheers >> >> Tom >=20 > 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? >=20 > -Kimmo >=20 I would consider them broken! How could I track down problems if they are results of intermixed config files when the manpage explicitely tells me, that the /etc/src.conf is only for the build of the operating system? --------------enig16EF04B6596D2D5B904D0E68 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJRG72uAAoJEOgBcD7A/5N8zDUH/26Rq98vPZqMSACyRu1ha9Er 3MLAPmq57RGnB5LVl8+uqIKHcF4kZzV9lWGEJiHgE0TOwGB7DdPOUmCaNxMyMDBV YAJgLdWgWRMERSbkvnPcCEZqDKHRgnOlQf+1Hmhcn+F2NHN25zYAgpLD6FJXd5Dm b1Jk/qHZymaEqyV0SE/XN0q8Z1akFLg+xyx5d3ft7PJ+tVdGv/CcmsEEkXas+qdS Pn2T7Xtnqv688K3rUZ1ziNLSaaRith2CYIjIL2Jww4Fsr5MG1l0bPGI03FLRoTnP tAOJF9hY0TwOSUEQhhGYrDYy6a/Jsuf7piiqMnCRv5/Gwl3sP2x2oX+XXFCmCDI= =JKPJ -----END PGP SIGNATURE----- --------------enig16EF04B6596D2D5B904D0E68--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?511BBDAD.1080806>