From owner-freebsd-hackers@freebsd.org Fri Jan 20 10:29:36 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4942DCB92EE for ; Fri, 20 Jan 2017 10:29:36 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CD3051CB2 for ; Fri, 20 Jan 2017 10:29:35 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from zero-gravitas.local (unknown [85.199.232.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 11D8F2F28 for ; Fri, 20 Jan 2017 10:29:30 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/11D8F2F28; dkim=none; dkim-atps=neutral Subject: Re: make.conf options and poudriere To: freebsd-hackers@freebsd.org References: <20170120095008.GA75122@admin.sibptus.transneft.ru> From: Matthew Seaman Message-ID: <1a270201-74ff-0e9b-7eb6-0af7c9846a12@FreeBSD.org> Date: Fri, 20 Jan 2017 10:29:31 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <20170120095008.GA75122@admin.sibptus.transneft.ru> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iI2G1q1NapegJUTpjWTBIwxIA0VudNnJm" X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2017 10:29:36 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --iI2G1q1NapegJUTpjWTBIwxIA0VudNnJm Content-Type: multipart/mixed; boundary="UqxNCNrRdTnbxRuq9AD2jWFcXdE5FmDGE"; protected-headers="v1" From: Matthew Seaman To: freebsd-hackers@freebsd.org Message-ID: <1a270201-74ff-0e9b-7eb6-0af7c9846a12@FreeBSD.org> Subject: Re: make.conf options and poudriere References: <20170120095008.GA75122@admin.sibptus.transneft.ru> In-Reply-To: <20170120095008.GA75122@admin.sibptus.transneft.ru> --UqxNCNrRdTnbxRuq9AD2jWFcXdE5FmDGE Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2017/01/20 09:50, Victor Sudakov wrote: > I'm trying to set per-port specific options as written in > https://forums.freebsd.org/threads/52871/ >=20 > For example, I have tried: > "net-mgmt_flow-tools_UNSET=3D GCC" > and=20 > "net-mgmt_flow-tools_UNSET=3D USE_GCC" >=20 > but the port still requires lang/gcc. However, if I comment out > "USE_GCC" directly in the net-mgmt/flow-tools/Makefile, it works for me= =2E >=20 > What am I doing wrong? I would like to be able to set/unset this > variable for different sets in poudriere, without editing the ports's > Makefile itself. Settings like 'net-mgmt_flow-tools_UNSET=3D GCC' only apply to the option= s defined by the port, and net-mgmt/flow-tools doesn't define a 'GCC' optio= n. Where the port Makefile says: USE_GCC=3Dany it means the port will (in preference order) * use the version of gcc specified in DEFAULT_VERSIONS -- this defaults to gcc-4.9 at the moment * use an installed version of gcc from ports, where it checks each of the versions available from ports, preferring the oldest available one. * uses gcc from base There is no longer any option to use DEFAULT_VERSIONS to specify the base system gcc, since gcc is no longer in base for any supported version= =2E However, if you find that net-mgmt/flow-tools will compile and run successfully with the system Clang, please submit a PR to have the 'USE_GCC' line deleted. Cheers, Matthew --UqxNCNrRdTnbxRuq9AD2jWFcXdE5FmDGE-- --iI2G1q1NapegJUTpjWTBIwxIA0VudNnJm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJYgeaRXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnywgP/i3KQkfl+cAPXdWG856C5Z5X 6Qr+DvS2Yk1gBLgoM3OV7gppPx8FVHWSMRdl0OmBlYqIpCvCyEiWgn2/pR6MYove mNZrvYxbjAXvUHn3ytAvU1dey4lYYmit0rCt4zLzye7MC7uLdScUopp9Kv5SoKtz XTQVJMJsmpBwQw9prQpw5hyb0Zy0JudyMYoF4QDqr/1V/p+Gw2wG3/2uQbjvq9N0 OFmRWbnLpp8IULClo82lLMntAMvNeHzalNGICHFiG8YrLa91oXE25pdmS28c938b qoZgw7SfUUiQI/yjWgaHnKpSnPhLUM+rQnlvH7UkxzFhfFCjtD281qgyaZ17Nw75 VGiwUJ/GOtUigW8FCM9HKkmRqUp32k4qeQxP/N6Z6WC6tNFKnFdHImOHVOHC3j3T 30KUMzctk9K0rxbYeR0dYTbCN+3WXI8u452aCpyXSNcLSFhcnKRDLFxa18JaNyKQ Yyte5Lzs2MaEiIAJTs55YnynWEhY3k8Ib36yEOTLx9pmrW7t625W+unutDzVxtTN yN50wF8MJmnu1B64w3+cjXPhVbRO8f4wxwt+3aS6x5SPElk/ksSmaEY6kPSaiWrX oDKZZwu/DCOPSJV10jQhkFM86VwkTelswF2diFI/DfUgAy0Fvj4YYTRNd1+7RHYO 0CdYWc0L6N3XtacmSTLO =qzBO -----END PGP SIGNATURE----- --iI2G1q1NapegJUTpjWTBIwxIA0VudNnJm--