From owner-freebsd-ports@freebsd.org Sat Dec 5 09:10:23 2015 Return-Path: Delivered-To: freebsd-ports@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 7497CA400FD for ; Sat, 5 Dec 2015 09:10:23 +0000 (UTC) (envelope-from jbeich@vfemail.net) Received: from vfemail.net (fiveseven.neocoil.com [12.31.100.157]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 32A0B1AA7 for ; Sat, 5 Dec 2015 09:10:22 +0000 (UTC) (envelope-from jbeich@vfemail.net) Received: (qmail 41334 invoked by uid 89); 5 Dec 2015 09:10:09 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with (DHE-RSA-AES256-SHA encrypted) SMTP; 5 Dec 2015 09:10:09 -0000 Received: (qmail 41128 invoked by uid 89); 5 Dec 2015 09:09:52 -0000 Received: by simscan 1.3.1 ppid: 41122, pid: 41125, t: 0.0030s scanners:none Received: from unknown (HELO smtp102-2.vfemail.net) (172.16.100.62) by FreeQueue with SMTP; 5 Dec 2015 09:09:51 -0000 Received: (qmail 28766 invoked by uid 89); 5 Dec 2015 09:09:58 -0000 Received: by simscan 1.4.0 ppid: 28683, pid: 28749, t: 0.6087s scanners:none Received: from unknown (HELO nil) (amJlaWNoQHZmZW1haWwubmV0@172.16.100.27) by mail.vfemail.net with ESMTPA; 5 Dec 2015 09:09:58 -0000 From: Jan Beich To: Bryan Drewery Cc: Euan Thoms , FreeBSD Ports Mailing List Subject: Re: MAKEFLAGS caused temporary insanity References: <5662376C.8090809@FreeBSD.org> Date: Sat, 05 Dec 2015 10:09:48 +0100 In-Reply-To: <5662376C.8090809@FreeBSD.org> (Bryan Drewery's message of "Fri, 4 Dec 2015 17:01:32 -0800") Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2015 09:10:23 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Bryan Drewery writes: > On 11/24/2015 8:00 PM, Euan Thoms wrote: > >>=20=20 >> On Tuesday, November 24, 2015 11:15 SGT, Jan Beich = wrote:=20 >>=20=20 >>> "Euan Thoms" 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----- --=-=-=--