diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2011-11-24 15:58:50 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2011-11-24 15:58:50 +0000 |
commit | b0c2e70551e33372d1c9b42107f63f74449422b2 (patch) | |
tree | 99b786aca8c6b5bdb630561f08d45f4cd3e352e6 /lang/fbbi | |
parent | - Respect CC/CFLAGS (diff) |
- Respect CC/CFLAGS
PR: 162537
Submitted by: Jan Beich <jbeich@tormail.net>
Approved by: maintainer
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=286375
Diffstat (limited to 'lang/fbbi')
-rw-r--r-- | lang/fbbi/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/fbbi/Makefile b/lang/fbbi/Makefile index 1cc318434943..2761f59f1c11 100644 --- a/lang/fbbi/Makefile +++ b/lang/fbbi/Makefile @@ -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 |