Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2017 10:29:31 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: make.conf options and poudriere
Message-ID:  <1a270201-74ff-0e9b-7eb6-0af7c9846a12@FreeBSD.org>
In-Reply-To: <20170120095008.GA75122@admin.sibptus.transneft.ru>
References:  <20170120095008.GA75122@admin.sibptus.transneft.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--iI2G1q1NapegJUTpjWTBIwxIA0VudNnJm
Content-Type: multipart/mixed; boundary="UqxNCNrRdTnbxRuq9AD2jWFcXdE5FmDGE";
 protected-headers="v1"
From: Matthew Seaman <matthew@FreeBSD.org>
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1a270201-74ff-0e9b-7eb6-0af7c9846a12>