ports/162530: [patch] lang/chicken: respect CC
Jan Beich
jbeich at tormail.net
Sun Nov 13 20:50:10 UTC 2011
>Number: 162530
>Category: ports
>Synopsis: [patch] lang/chicken: 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: Sun Nov 13 20:50:09 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/chicken-4.7.0.log
>Fix:
--- cc.diff begins here ---
Index: lang/chicken/Makefile
===================================================================
RCS file: /a/.csup/ports/lang/chicken/Makefile,v
retrieving revision 1.45
diff -u -p -r1.45 Makefile
--- lang/chicken/Makefile 8 Oct 2011 21:24:53 -0000 1.45
+++ lang/chicken/Makefile 13 Nov 2011 17:26:39 -0000
@@ -35,7 +35,10 @@ MAKE_ARGS+= HACKED_APPLY=
post-patch:
@${REINPLACE_CMD} \
- 's|^DOCDIR = .*$$|DOCDIR = ${DOCSDIR}|' \
+ -e 's|^DOCDIR = .*$$|DOCDIR = ${DOCSDIR}|' \
+ -e '/^C_COMPILER/s|gcc|${CC}|' \
+ -e '/^CXX_COMPILER/s|g++|${CXX}|' \
+ -e '/^LIBRARIAN/s|ar|${AR}|' \
${WRKSRC}/defaults.make
post-install:
--- cc.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list