aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ccmalloc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ccmalloc')
-rw-r--r--devel/ccmalloc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/ccmalloc/Makefile b/devel/ccmalloc/Makefile
index 79fe6e496446..50184990ba54 100644
--- a/devel/ccmalloc/Makefile
+++ b/devel/ccmalloc/Makefile
@@ -25,6 +25,10 @@ PLIST_SUB= CXX="${CXX}"
.include <bsd.port.pre.mk>
+.if ${CC} != "cc" || ${CXX} != "c++"
+BROKEN= Does not build with CC or CXX set
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|CFLAGS=".*"|CFLAGS="${CFLAGS}"|; \
s|CXXFLAGS=".*"|CXXFLAGS="${CXXFLAGS}"|' ${WRKSRC}/configure