Date: Sun, 13 Nov 2011 12:18:38 -0700 From: Jan Beich <jbeich@tormail.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/162537: [patch] lang/fbbi: respect CC/CFLAGS Message-ID: <1RPgxK-000H94-Qq@internal.tormail.net> Resent-Message-ID: <201111132050.pADKoCQ7042337@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 162537 >Category: ports >Synopsis: [patch] lang/fbbi: respect CC/CFLAGS >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:11 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/fbbi-2003.0326_1.log >Fix: --- cc.diff begins here --- Index: lang/fbbi/Makefile =================================================================== RCS file: /a/.csup/ports/lang/fbbi/Makefile,v retrieving revision 1.7 diff -u -p -r1.7 Makefile --- lang/fbbi/Makefile 6 Feb 2004 13:11:36 -0000 1.7 +++ lang/fbbi/Makefile 13 Nov 2011 19:15:34 -0000 @@ -20,6 +20,11 @@ USE_GMAKE= yes WRKSRC= ${WRKDIR}/${DISTNAME}/src +post-patch: .SILENT + ${REINPLACE_CMD} -e '/^CC/s/=/?=/' \ + -e '/^CFLAGS/{s/=/+=/;s/-g//;s/-O//;}' \ + ${WRKSRC}/Makefile + do-install: @${INSTALL_PROGRAM} ${WRKSRC}/../bin/fbbi ${PREFIX}/bin --- 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?1RPgxK-000H94-Qq>