aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Data-Section/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/devel/p5-Data-Section/Makefile b/devel/p5-Data-Section/Makefile
index 6f829403a61..5142974bac6 100644
--- a/devel/p5-Data-Section/Makefile
+++ b/devel/p5-Data-Section/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Data-Section
PORTVERSION= 0.100270
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,11 +15,16 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Read multiple hunks of data out of your DATA section
-BUILD_DEPENDS= p5-Class-ISA>=0:${PORTSDIR}/devel/p5-Class-ISA \
- p5-Sub-Exporter>=0.979:${PORTSDIR}/devel/p5-Sub-Exporter
+BUILD_DEPENDS= p5-Sub-Exporter>=0.979:${PORTSDIR}/devel/p5-Sub-Exporter
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= YES
MAN3= Data::Section.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-Class-ISA>=0:${PORTSDIR}/devel/p5-Class-ISA
+.endif
+
+.include <bsd.port.post.mk>