diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/botan/Makefile | 9 |
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> |