ports/163297: [patch] lang/objc: respect CC (objc-bootstrap)

Jan Beich jbeich at tormail.net
Wed Dec 14 20:20:06 UTC 2011


>Number:         163297
>Category:       ports
>Synopsis:       [patch] lang/objc: respect CC (objc-bootstrap)
>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:   Wed Dec 14 20:20:05 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:
According to do-configure target in bsd.port.mk CC/CXX are exported
before CONFIGURE_ENV, not as part of.
>How-To-Repeat:
http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/objc-3.2.8_1.log
>Fix:
--- cc.diff begins here ---
Index: lang/objc/Makefile
===================================================================
RCS file: /a/.csup/ports/lang/objc/Makefile,v
retrieving revision 1.39
diff -u -p -r1.39 Makefile
--- lang/objc/Makefile	24 Oct 2011 03:33:09 -0000	1.39
+++ lang/objc/Makefile	14 Dec 2011 19:50:49 -0000
@@ -27,7 +27,7 @@ MAKE_JOBS_UNSAFE=	yes
 
 pre-configure:
 	cd ${WRKDIR}/${PORTNAME}-bootstrap-${BOOTVERSION};\
-	${CONFIGURE_ENV} ./configure --prefix=${WRKDIR};${MAKE};${MAKE} install
+	${CONFIGURE_ENV} ${MAKE_ENV} ./configure --prefix=${WRKDIR};${MAKE};${MAKE} install
 
 pre-install:
 	${MKDIR} ${PREFIX}/share/doc/objc
--- cc.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list