aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2003-07-10 08:25:57 +0000
committerErwin Lansing <erwin@FreeBSD.org>2003-07-10 08:25:57 +0000
commite2fa54af04b779740011e55f71c808c073cb89c4 (patch)
tree32237c2de2dc6d5184ef6ec8266ecde5d2162d21 /security
parent0131c76e8822bfb3693e7c23f44134754ebd82bb (diff)
downloadports-e2fa54af04b779740011e55f71c808c073cb89c4.tar.gz
ports-e2fa54af04b779740011e55f71c808c073cb89c4.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/botan/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/security/botan/Makefile b/security/botan/Makefile
index dd01e226c128..2d866e98a36b 100644
--- a/security/botan/Makefile
+++ b/security/botan/Makefile
@@ -30,6 +30,13 @@ INSTALLS_SHLIB= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+BUILD_DEPENDS= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+RUN_DEPENDS= ${BUILD_DEPENDS}
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s,/usr/local,${PREFIX},g ; \
s,%%CFLAGS%%,${CFLAGS},g" ${WRKSRC}/${CONFIGURE_SCRIPT}
@@ -38,4 +45,4 @@ post-patch:
post-install:
@${RM} -f ${PREFIX}/include/botan/botan
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>