aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-02-05 10:36:49 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-02-05 10:36:49 +0000
commit99c7bdd8dfbd23263c3293c37c06b747df69bd34 (patch)
treeb80b968fe656aa9f0e147bdd18db8b35eddeaad8 /www
parentf12900301f6489a7365a45074702cd90c6346fbc (diff)
downloadports-99c7bdd8dfbd23263c3293c37c06b747df69bd34.tar.gz
ports-99c7bdd8dfbd23263c3293c37c06b747df69bd34.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/p5-Bundle-Slash/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/www/p5-Bundle-Slash/Makefile b/www/p5-Bundle-Slash/Makefile
index 87adf1128b87..6577743663fc 100644
--- a/www/p5-Bundle-Slash/Makefile
+++ b/www/p5-Bundle-Slash/Makefile
@@ -20,7 +20,6 @@ BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-D
${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \
${SITE_PERL}/${PERL_ARCH}/Apache/Cookie.pm:${PORTSDIR}/www/p5-libapreq \
${SITE_PERL}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \
- ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \
${SITE_PERL}/Net/Cmd.pm:${PORTSDIR}/net/p5-Net \
${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \
${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
@@ -53,4 +52,10 @@ PERL_CONFIGURE= yes
MAN3= Bundle::Slash.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+.endif
+
+.include <bsd.port.post.mk>