aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2010-05-11 14:48:39 +0800
committerclsung <clsung@FreeBSD.org>2010-05-11 14:48:39 +0800
commit5da511ed1b2f1a7f36f2567a0c062c7e6d6cb781 (patch)
tree1419507306c8ec85df82bd0e661d3721d2254a9e /devel
parenta201d9fa6ffaeae08a89b33f37e472c199a14abc (diff)
downloadfreebsd-ports-gnome-5da511ed1b2f1a7f36f2567a0c062c7e6d6cb781.tar.gz
freebsd-ports-gnome-5da511ed1b2f1a7f36f2567a0c062c7e6d6cb781.tar.zst
freebsd-ports-gnome-5da511ed1b2f1a7f36f2567a0c062c7e6d6cb781.zip
- Class::ISA was first released with perl 5.007003
- bump PORTREVISION
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 6f829403a610..5142974bac67 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>