Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2004 17:43:17 -0700 (PDT)
From:      "David O'Brien" <obrien@NUXI.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65798: Bug in bsd.port.mk when USE_GCC not defined
Message-ID:  <200404200043.i3K0hHtq094905@dragon.nuxi.com>
Resent-Message-ID: <200404200050.i3K0oJWn001521@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404200043.i3K0hHtq094905>