Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2011 22:04:03 -0700
From:      Jan Beich <jbeich@tormail.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/163233: [patch] net-mgmt/netwox: respect CC
Message-ID:  <1RaLV6-000H8o-Vx@internal.tormail.net>
Resent-Message-ID: <201112130610.pBD6ADUL090332@freefall.freebsd.org>

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

>Number:         163233
>Category:       ports
>Synopsis:       [patch] net-mgmt/netwox: respect CC
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 13 06:10:13 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jan Beich
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
# slightly different from pointyhat
$ export PATH=~/.bin:$PATH
$ for cc in CC cc c++ gcc g++ cpp; do ln -s /usr/bin/false ~/.bin/${cc}; done
>Description:
>How-To-Repeat:
http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/netwox-5.38.0.log
>Fix:
--- cc.diff begins here ---
Index: net-mgmt/netwox/Makefile
===================================================================
RCS file: /a/.csup/ports/net-mgmt/netwox/Makefile,v
retrieving revision 1.24
diff -u -p -r1.24 Makefile
--- net-mgmt/netwox/Makefile	15 Feb 2010 17:02:34 -0000	1.24
+++ net-mgmt/netwox/Makefile	13 Dec 2011 05:02:28 -0000
@@ -29,6 +29,7 @@ do-configure:
 		-e 's|%%PREFIX%%|${PREFIX}|' \
 		-e 's|%%LOCALBASE%%|${LOCALBASE}|' \
 		-e 's|%%CFLAGS%%|${CFLAGS}|' \
+		-e 's|gcc|${CC}|' \
 		${WRKSRC}/config.dat
 		(cd ${WRKSRC} ; ${SH} ${WRKSRC}/genemake )
 
--- cc.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1RaLV6-000H8o-Vx>