Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Dec 2015 10:09:48 +0100
From:      Jan Beich <jbeich@vfemail.net>
To:        Bryan Drewery <bdrewery@FreeBSD.org>
Cc:        Euan Thoms <euan@potensol.com>, FreeBSD Ports Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: MAKEFLAGS caused temporary insanity
Message-ID:  <zixp-p8gz-wny@vfemail.net>
In-Reply-To: <5662376C.8090809@FreeBSD.org> (Bryan Drewery's message of "Fri,  4 Dec 2015 17:01:32 -0800")
References:  <b2f0-56553280-3-6b8b4580@170958255> <5662376C.8090809@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Bryan Drewery <bdrewery@FreeBSD.org> writes:

> On 11/24/2015 8:00 PM, Euan Thoms wrote:
>
>>=20=20
>> On Tuesday, November 24, 2015 11:15 SGT, Jan Beich <jbeich@vfemail.net> =
wrote:=20
>>=20=20
>>> "Euan Thoms" <euan@potensol.com> writes:
>>>
>>>> do-build:
>>>>         cd ${WRKSRC} && unset MAKEFLAGS && ${OPENSIPS_MAKE_ENV}
>>>> ${GMAKE} ${_MAKE_JOBS} ${ALL_TARGET}
>>>
>>> Have you tried defining NOPRECIOUSMAKEVARS in the port's Makefile?
>>>
>>=20
>> That did the trick, thanks. I can now remove the "unset MAKEFLAGS" in do=
-build.
>>=20=20
>>=20=20
>
> As far as I can tell NOPRECIOUSMAKEVARS does not impact the variable
> literally named 'MAKEFLAGS'. It should only be impacting these:
>
> # make -V _EXPORTED_VARS
> ARCH OPSYS _OSRELEASE OSREL OSVERSION _PKG_CHECKED HAVE_COMPAT_IA32_KERN
> _SMP_CPUS CONFIGURE_MAX_CMD_LEN

Did you read my reply untrimmed? net/opensips uses ARCH in vendor Makefile
and the framework clobbers its value. Some ports like multimedia/ffmpeg
rename the variable, others give up and define NOPRECIOUSMAKEVARS.

> Which port was this? Which release are you running (real question is
> whether it was fmake or bmake)?

Affects both. I did propose 2 ways to fix.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQF8BAEBCgBmBQJWYqncXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF
NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3b/64IAMEwkS6vj59wIc8sHwLj3XMF
nPxfclgzRolxpJzb+FsJ7uHgHAKhvo+c9k9MDY0TM9qXnd3pCHsn4RmKGu7hk/0+
iWsQ4/ZcyrQ1e9EG4rBoLQR1wSbMUJRKcHA3s0u/xObu1sc59KnuFA9cgavj4w9R
X+rN7HM0ZC+7s8y7M0EhclcVrHyZ0rcjcj7sRpOgpJEkYQtEkdUXZmOqIpPqMzv/
Kft0PFq2pmfBdsOiXgiJGpawgEI1pF3XyckL7LjIF0cYlFL/IZ1Gi9hmK2A1CaS+
+WbhXyseUkfrohU4YsGb3CDWtHawXHn44Muz3pUOrtAdP1J5c6byKyOrpRHF5eY=
=IAw6
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?zixp-p8gz-wny>