From owner-freebsd-current@FreeBSD.ORG Wed Feb 13 16:22:09 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E810BBF9; Wed, 13 Feb 2013 16:22:09 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 92D68E1F; Wed, 13 Feb 2013 16:22:09 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1U5f5z-000NWI-5P>; Wed, 13 Feb 2013 17:22:07 +0100 Received: from e178031046.adsl.alicedsl.de ([85.178.31.46] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1U5f5z-003I3v-1V>; Wed, 13 Feb 2013 17:22:07 +0100 Message-ID: <511BBDAD.1080806@zedat.fu-berlin.de> Date: Wed, 13 Feb 2013 17:22:05 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130131 Thunderbird/17.0.2 MIME-Version: 1.0 To: Kimmo Paasiala Subject: Re: ports include /etc/src.conf? i.e. graphics/libfpx References: <511B662C.7030602@zedat.fu-berlin.de> <511B874A.7080901@kbh.biglobe.ne.jp> In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig16EF04B6596D2D5B904D0E68" X-Originating-IP: 85.178.31.46 Cc: Tom Evans , "free >> Current FreeBSD" , Ports FreeBSD , Yamaya Takashi X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2013 16:22:10 -0000 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 w= rote: >> On Wed, Feb 13, 2013 at 12:30 PM, Yamaya Takashi >> 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 , >>> /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--