ports/162531: [patch] mail/osbf-lua: respect CC
Jan Beich
jbeich at tormail.net
Sun Nov 13 20:50:10 UTC 2011
>Number: 162531
>Category: ports
>Synopsis: [patch] mail/osbf-lua: 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/osbf-lua-2.0.4.log
>Fix:
--- cc.diff begins here ---
Index: mail/osbf-lua/Makefile
===================================================================
RCS file: /a/.csup/ports/mail/osbf-lua/Makefile,v
retrieving revision 1.1
diff -u -p -r1.1 Makefile
--- mail/osbf-lua/Makefile 1 Feb 2009 18:10:25 -0000 1.1
+++ mail/osbf-lua/Makefile 13 Nov 2011 17:44:33 -0000
@@ -30,4 +30,7 @@ PLIST_SUB+= SPAMFILTER=""
PLIST_SUB+= SPAMFILTER="@comment "
.endif
+post-patch: .SILENT
+ ${REINPLACE_CMD} '/^CC/s/=/?=/' ${WRKSRC}/config
+
.include <bsd.port.post.mk>
--- cc.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list