summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-09-07 22:10:09 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-09-07 22:10:09 +0000
commitf0d816090680f3ffd23dd7d204d467e45eb71487 (patch)
tree75cf07d477496c61d2cf02f4ad199d9dacc97e67
parent2590e47056edaccbf4c5357735a9cff14f3a07ff (diff)
downloadfreebsd-ports-f0d816090680f3ffd23dd7d204d467e45eb71487.zip
Only strip RRDs.so if actually built
-rw-r--r--databases/rrdtool/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/databases/rrdtool/Makefile b/databases/rrdtool/Makefile
index 7a8852f34914..f8d611d14afb 100644
--- a/databases/rrdtool/Makefile
+++ b/databases/rrdtool/Makefile
@@ -123,6 +123,8 @@ post-install:
@${ECHO_MSG} "# See ${EXAMPLESDIR} for some demonstration code #"
@${ECHO_MSG} "############################################################################"
.endif
+.if ${PORT_OPTIONS:MPERL_MODULE}
${STRIP_CMD} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/RRDs/RRDs.so
+.endif
.include <bsd.port.mk>