Date: Wed, 14 Sep 2005 08:50:22 GMT From: Jean-Yves Lefort <jylefort@FreeBSD.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/86106: ${CC} should be added to ${MAKE_ENV} when ${USE_GMAKE} is set Message-ID: <200509140850.j8E8oMve090505@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/86106; it has been noted by GNATS. From: Jean-Yves Lefort <jylefort@FreeBSD.org> To: michael johnson <buhnux@gmail.com> Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: ports/86106: ${CC} should be added to ${MAKE_ENV} when ${USE_GMAKE} is set Date: Wed, 14 Sep 2005 10:49:44 +0200 --Signature=_Wed__14_Sep_2005_10_49_44_+0200_Ew1P0p.L3Hh9bSRL Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 14 Sep 2005 04:42:55 -0400 michael johnson <buhnux@gmail.com> wrote: > On Sep 14, 2005, at 4:39 AM, Jean-Yves Lefort wrote: >=20 > > GNU make does not automatically inherit ${CC}; adding it to > > ${MAKE_ENV} in bsd.port.mk would be profitable. > > >=20 > The same would be true about ${CXX} also then. Indeed: --- bsd.port.mk.orig Wed Sep 14 10:37:43 2005 +++ bsd.port.mk Wed Sep 14 10:47:42 2005 @@ -1460,6 +1460,7 @@ .if defined(USE_GMAKE) BUILD_DEPENDS+=3D gmake:${PORTSDIR}/devel/gmake CONFIGURE_ENV+=3D MAKE=3D${GMAKE} +MAKE_ENV+=3D CC=3D"${CC}" CXX=3D"${CXX}" .endif =20 .if defined(USE_GCC) --=20 Jean-Yves Lefort jylefort@FreeBSD.org http://lefort.be.eu.org/ --Signature=_Wed__14_Sep_2005_10_49_44_+0200_Ew1P0p.L3Hh9bSRL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFDJ+QoyzD7UaO4AGoRAq6IAJ9rXdPG6vvjj7MJpgHIzVS/pnmiTwCdFG2n mDaQ4I/oX0SuNIhKMJePMmo= =FlyI -----END PGP SIGNATURE----- --Signature=_Wed__14_Sep_2005_10_49_44_+0200_Ew1P0p.L3Hh9bSRL--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509140850.j8E8oMve090505>