From 0bbb0864314e255bdd03a645e904a0fa798c9b14 Mon Sep 17 00:00:00 2001 From: erwin Date: Thu, 10 Jul 2003 08:25:57 +0000 Subject: Add missing dependency PR: 54282 Submitted by: bento, Kirill Ponomarew --- security/botan/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'security') 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 + +.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 +.include -- cgit