ports/86106: ${CC} should be added to ${MAKE_ENV} when ${USE_GMAKE} is set

Jean-Yves Lefort jylefort at FreeBSD.org
Wed Sep 14 08:40:11 UTC 2005


>Number:         86106
>Category:       ports
>Synopsis:       ${CC} should be added to ${MAKE_ENV} when ${USE_GMAKE} is set
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 14 08:40:10 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Yves Lefort
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD jsite.lefort.net 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Wed Jul 27 11:27:58 CEST 2005 jylefort at jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386
>Description:
GNU make does not automatically inherit ${CC}; adding it to
${MAKE_ENV} in bsd.port.mk would be profitable.
>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
 
 .if defined(USE_GCC)
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list