ports/65798: Bug in bsd.port.mk when USE_GCC not defined

David O'Brien obrien at NUXI.com
Tue Apr 20 00:50:19 UTC 2004


>Number:         65798
>Category:       ports
>Synopsis:       Bug in bsd.port.mk when USE_GCC not defined
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 19 17:50:18 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     David O'Brien
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD dragon.nuxi.com 5.2-CURRENT FreeBSD 5.2-CURRENT #394: Sun Mar 21 20:03:20 PST 2004 rootk at dragon.nuxi.com:/FBSD/src/sys/i386/compile/DRAGON i386


	
>Description:

	A port no longer is told to use the compiler defined by 'CC' in the
	normal case of "USE_GCC" not being set.

	I think a ".else" was left out of the "USE_GCC" logic.

>How-To-Repeat:
	$ make -V MAKE_ENV	# shows no CC=

>Fix:

Index: bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.487
diff -u -r1.487 bsd.port.mk
--- bsd.port.mk	19 Apr 2004 01:37:11 -0000	1.487
+++ bsd.port.mk	20 Apr 2004 00:39:37 -0000
@@ -1320,6 +1321,7 @@
 BUILD_DEPENDS+=	gcc34:${PORTSDIR}/lang/gcc34
 GCCVERSION=		030400
 .endif
+.else
 MAKE_ENV+=	CC="${CC}" CXX="${CXX}"
 .endif
 
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list