aboutsummaryrefslogtreecommitdiff
path: root/lang/bf2c
diff options
context:
space:
mode:
authorShaun Amott <shaun@FreeBSD.org>2006-12-15 02:12:57 +0000
committerShaun Amott <shaun@FreeBSD.org>2006-12-15 02:12:57 +0000
commit29e1d827c82630d4e529d924336c1fb4e25594cd (patch)
treee3da2e5683ef442d21445acaa95d5b5043771ad9 /lang/bf2c
parentbdfd2cf4bb0b9b904a3102bf93d66b3b613e03d4 (diff)
downloadports-29e1d827c82630d4e529d924336c1fb4e25594cd.tar.gz
ports-29e1d827c82630d4e529d924336c1fb4e25594cd.zip
Notes
Diffstat (limited to 'lang/bf2c')
-rw-r--r--lang/bf2c/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/bf2c/Makefile b/lang/bf2c/Makefile
index 61e274375931..b34752785ef3 100644
--- a/lang/bf2c/Makefile
+++ b/lang/bf2c/Makefile
@@ -16,6 +16,10 @@ COMMENT= Optimizing BrainF*ck to C compiler
USE_GMAKE=yes
+post-patch:
+ @${REINPLACE_CMD} -e 's,^CC=.*$$,CC=${CXX} ${CXXFLAGS:C/-Werror//g},' \
+ ${WRKSRC}/Makefile
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bf2c ${PREFIX}/bin