aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ccmalloc
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2006-04-24 09:25:00 +0800
committerkris <kris@FreeBSD.org>2006-04-24 09:25:00 +0800
commit88cc68f281a6cae89bc1bda535bb39d5ba8c2cff (patch)
treebf4cc7900ed28c672fa47dcfaac128341eb2e5a3 /devel/ccmalloc
parentf6906e0c037638150816bd338266521470c4ec4d (diff)
downloadfreebsd-ports-gnome-88cc68f281a6cae89bc1bda535bb39d5ba8c2cff.tar.gz
freebsd-ports-gnome-88cc68f281a6cae89bc1bda535bb39d5ba8c2cff.tar.zst
freebsd-ports-gnome-88cc68f281a6cae89bc1bda535bb39d5ba8c2cff.zip
Mark BROKEN if CC or CXX are changed from defaults
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