aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ccmalloc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ccmalloc')
-rw-r--r--devel/ccmalloc/Makefile7
-rw-r--r--devel/ccmalloc/files/patch5-configure (renamed from devel/ccmalloc/files/patch-configure)0
2 files changed, 6 insertions, 1 deletions
diff --git a/devel/ccmalloc/Makefile b/devel/ccmalloc/Makefile
index 7676947a16bb..85d27234effe 100644
--- a/devel/ccmalloc/Makefile
+++ b/devel/ccmalloc/Makefile
@@ -23,7 +23,12 @@ CONFIGURE_ARGS= --prefix=${PREFIX}
CC= gcc -g -Wall
CXX= g++
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} > 500000
+PATCH_FILES+= ${FILESDIR}/patch5-configure
+.endif
+
post-install:
@${CAT} pkg-message
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/ccmalloc/files/patch-configure b/devel/ccmalloc/files/patch5-configure
index 39b2b424f43b..39b2b424f43b 100644
--- a/devel/ccmalloc/files/patch-configure
+++ b/devel/ccmalloc/files/patch5-configure