Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2017 14:03:18 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: make.conf options and poudriere
Message-ID:  <554f6171-cb2e-596b-595c-9cde36cf3f6f@FreeBSD.org>
In-Reply-To: <20170120124731.GA75275@admin.sibptus.transneft.ru>
References:  <20170120095008.GA75122@admin.sibptus.transneft.ru> <1a270201-74ff-0e9b-7eb6-0af7c9846a12@FreeBSD.org> <20170120124731.GA75275@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)
--2XudjqLasgmDtmriSfnG3B4URMqWwbfv2
Content-Type: multipart/mixed; boundary="RdU1XndORX4GHnElDG2iAs7Oxn56UJmHR";
 protected-headers="v1"
From: Matthew Seaman <matthew@FreeBSD.org>
To: freebsd-hackers@freebsd.org
Message-ID: <554f6171-cb2e-596b-595c-9cde36cf3f6f@FreeBSD.org>
Subject: Re: make.conf options and poudriere
References: <20170120095008.GA75122@admin.sibptus.transneft.ru>
 <1a270201-74ff-0e9b-7eb6-0af7c9846a12@FreeBSD.org>
 <20170120124731.GA75275@admin.sibptus.transneft.ru>
In-Reply-To: <20170120124731.GA75275@admin.sibptus.transneft.ru>

--RdU1XndORX4GHnElDG2iAs7Oxn56UJmHR
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 2017/01/20 12:47, sudakov+freebsd@sibptus.tomsk.ru wrote:
> The question is not about this particular option but in fact any arbitr=
ary
> Makefile variable. Maybe FLOW_CAPTURE_SPOOL=3D just for example.
>=20
> How do I redefine or unset such variables depending on the port,
> without actually editing the port's Makefile itself? I would prefer to
> do it from /usr/local/etc/poudriere.d/foo-bar-make.conf

Ah -- then you need to set variables conditionally on what the current
working directory is.

=2Eif $(.CURDIR:M*/net-mgmt/flow-tools)
FLOW_CAPTURE_SPOOL=3D something
=2Eendif

You may need to use ?=3D rather than =3D for the assignment.  Unfortunate=
ly
this cannot be guaranteed to work, but mostly it does.

	Cheers,

	Matthew


--RdU1XndORX4GHnElDG2iAs7Oxn56UJmHR--

--2XudjqLasgmDtmriSfnG3B4URMqWwbfv2
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

iQJ8BAEBCgBmBQJYghisXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw
MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnTf0P/34kQmd4s3E19crEtpgsFncW
bo2IIwO/bmcRu6jyYd0ETOpHn1kbyHEbbfr25E4x2qB6b451r9TtgDJnygFlDKG1
jNWFq/oYLQ/I8gjfq1zs/1p0mNL4nCSU1iUAms2aZCcq4XyWddpdeYU+pa4M0jvy
1yuFnCh0v5ywd+TKHPn6awsnl0MZnLsALD8MnUlsbTZG0GaXfa6d9NHhBBqseZJm
phQGBfeV8V+mv7W2ESxxGoEYDE5mY+X4sNvvEKDpfH8KqdkyfYxevm7AIpylDDEU
sKbmgDch41RQSEGSWs1g3X50OUsWPExtjm7ewsI/AHzH/aIpUZqfvmXAfdc40qCL
dTH+Gb/YOTwECygKfyj1YYrk9TWtnGLQDai7RnC3qD7x2czv+tUZ5yn6hOUVQuPC
OO7oKTWDCL8sbHHn4Fscc9oaJtKUwIGYQkfYu5FKtPCWi4k1M/eIDugWO+9zY8ZA
M/j28i/URH/uNTO4QjHjQiafdr3Hez3J6f7lGO6rGHcNAWinDJoxK+y8ArBdNolt
cBrRk62LHuqOsr7mk7VVyUeiKyLdeKoo16g/LDIF7BwXBfzByGa/RkarhQDC9T31
SjD3I6YFcDM/3XO5Ci9AETXEtLFeYjrsfcNTPAq/LZ9viUIGPav4lqYO9pJ049ys
T8oEdmAvuewJAkEycQOm
=SNPZ
-----END PGP SIGNATURE-----

--2XudjqLasgmDtmriSfnG3B4URMqWwbfv2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?554f6171-cb2e-596b-595c-9cde36cf3f6f>