From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Sep 14 08:50:18 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D376D16A41F for ; Wed, 14 Sep 2005 08:50:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90F5343D45 for ; Wed, 14 Sep 2005 08:50:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8E8oIMB090495 for ; Wed, 14 Sep 2005 08:50:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8E8oIYD090494; Wed, 14 Sep 2005 08:50:18 GMT (envelope-from gnats) Date: Wed, 14 Sep 2005 08:50:18 GMT Message-Id: <200509140850.j8E8oIYD090494@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: michael johnson Cc: Subject: Re: ports/86106: ${CC} should be added to ${MAKE_ENV} when ${USE_GMAKE} is set X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: michael johnson List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2005 08:50:18 -0000 The following reply was made to PR ports/86106; it has been noted by GNATS. From: michael johnson To: Jean-Yves Lefort 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 04:42:55 -0400 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-5-203804647 Content-Type: multipart/alternative; boundary=Apple-Mail-4-203804360 --Apple-Mail-4-203804360 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On Sep 14, 2005, at 4:39 AM, Jean-Yves Lefort wrote: > GNU make does not automatically inherit ${CC}; adding it to > ${MAKE_ENV} in bsd.port.mk would be profitable. > The same would be true about ${CXX} also then. >> How-To-Repeat: >> Fix: >> > --- bsd.port.mk.orig Wed Sep 14 10:37:43 2005 > +++ bsd.port.mk Wed Sep 14 10:38:26 2005 > @@ -1460,6 +1460,7 @@ > .if defined(USE_GMAKE) > BUILD_DEPENDS+= gmake:${PORTSDIR}/devel/gmake > CONFIGURE_ENV+= MAKE=${GMAKE} > +MAKE_ENV+= CC="${CC}" > .endif > > --Apple-Mail-4-203804360 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1
On Sep 14, 2005, = at 4:39 AM, Jean-Yves Lefort wrote:

GNU make does not = automatically inherit ${CC}; adding it to

${MAKE_ENV} in bsd.port.mk would be = profitable.



The same would be true = about ${CXX} also then.

How-To-Repeat:

Fix:


--- bsd.port.mk.orig=A0 = =A0 Wed Sep 14 10:37:43 2005

+++ bsd.port.mk=A0 = =A0 Wed Sep 14 10:38:26 2005

@@ -1460,6 +1460,7 @@

=A0.if = defined(USE_GMAKE)

=A0BUILD_DEPENDS+=3D=A0 = =A0 =A0 =A0 gmake:${PORTSDIR}/devel/gmake

=A0CONFIGURE_ENV+=3D=A0 = =A0 MAKE=3D${GMAKE}

+MAKE_ENV+=3D=A0 =A0 =A0 =A0 = CC=3D"${CC}"

=A0.endif




= --Apple-Mail-4-203804360-- --Apple-Mail-5-203804647 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFDJ+KSn4uqfTwEb9YRAjeyAJ9I0Rjz+7k+iCUie2R6uDln9dcR2QCfX2rd qa3Ygfr6x94TDAzGzUSvacM= =JtrB -----END PGP SIGNATURE----- --Apple-Mail-5-203804647--