aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-File-Flat
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-08-12 12:48:01 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-08-12 12:48:01 +0000
commit3a7b17911b12b557fc9c450a975d5a86e1c8303e (patch)
treec1163267eb35cfcd7d2b1680f5e16f391848e9b1 /devel/p5-File-Flat
parentb45207534f07eb7c813498681685467341d13336 (diff)
downloadports-3a7b17911b12b557fc9c450a975d5a86e1c8303e.tar.gz
ports-3a7b17911b12b557fc9c450a975d5a86e1c8303e.zip
Notes
Diffstat (limited to 'devel/p5-File-Flat')
-rw-r--r--devel/p5-File-Flat/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/devel/p5-File-Flat/Makefile b/devel/p5-File-Flat/Makefile
index 95097369d108..e771df782223 100644
--- a/devel/p5-File-Flat/Makefile
+++ b/devel/p5-File-Flat/Makefile
@@ -15,8 +15,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Implements a flat filesystem
-BUILD_DEPENDS= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
- ${SITE_PERL}/Class/Autouse.pm:${PORTSDIR}/devel/p5-Class-Autouse \
+BUILD_DEPENDS= ${SITE_PERL}/Class/Autouse.pm:${PORTSDIR}/devel/p5-Class-Autouse \
${SITE_PERL}/Class/Inspector.pm:${PORTSDIR}/devel/p5-Class-Inspector \
${SITE_PERL}/File/Remove.pm:${PORTSDIR}/devel/p5-File-Remove \
${SITE_PERL}/File/Slurp.pm:${PORTSDIR}/devel/p5-File-Slurp \
@@ -27,4 +26,10 @@ PERL_CONFIGURE= yes
MAN3= File::Flat.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+.endif
+
+.include <bsd.port.post.mk>