aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/fbbi/Makefile5
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