diff options
author | miwi <miwi@FreeBSD.org> | 2011-11-24 23:58:50 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2011-11-24 23:58:50 +0800 |
commit | 4d1e1cb3c7c8a6f90630d71a3687f17e407e7c10 (patch) | |
tree | 1ba26fc4847d92260ec835936ef71a98880eb114 /lang | |
parent | 99fafca4f4c7d41d7b58de88a2ada18d53ef2d8f (diff) | |
download | freebsd-ports-gnome-4d1e1cb3c7c8a6f90630d71a3687f17e407e7c10.tar.gz freebsd-ports-gnome-4d1e1cb3c7c8a6f90630d71a3687f17e407e7c10.tar.zst freebsd-ports-gnome-4d1e1cb3c7c8a6f90630d71a3687f17e407e7c10.zip |
- Respect CC/CFLAGS
PR: 162537
Submitted by: Jan Beich <jbeich@tormail.net>
Approved by: maintainer
Feature safe: yes
Diffstat (limited to 'lang')
-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 |