aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Exception-Class
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2006-07-15 16:22:10 +0800
committererwin <erwin@FreeBSD.org>2006-07-15 16:22:10 +0800
commitba1d7ded9eba43d5f0c6ef595bcf33348446139b (patch)
treed802940b6f26e26181d1094bbce587dad67dd77a /devel/p5-Exception-Class
parentcfd74a00c3b30b74d14b8b09a6e261874c549f09 (diff)
downloadfreebsd-ports-gnome-ba1d7ded9eba43d5f0c6ef595bcf33348446139b.tar.gz
freebsd-ports-gnome-ba1d7ded9eba43d5f0c6ef595bcf33348446139b.tar.zst
freebsd-ports-gnome-ba1d7ded9eba43d5f0c6ef595bcf33348446139b.zip
Unbreak on older perl and pet portlint
PR: 100327 Submitted by: Gea-Suan Lin <gslin@gslin.org>
Diffstat (limited to 'devel/p5-Exception-Class')
-rw-r--r--devel/p5-Exception-Class/Makefile7
-rw-r--r--devel/p5-Exception-Class/pkg-plist9
2 files changed, 9 insertions, 7 deletions
diff --git a/devel/p5-Exception-Class/Makefile b/devel/p5-Exception-Class/Makefile
index a496f7b92467..922a2da72b5c 100644
--- a/devel/p5-Exception-Class/Makefile
+++ b/devel/p5-Exception-Class/Makefile
@@ -8,6 +8,7 @@
PORTNAME= Exception-Class
PORTVERSION= 1.23
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Exception
@@ -22,12 +23,12 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
-MAN3= Exception::Class.3
+MAN3= Exception::Class.3
.include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} < 500800
-IGNORE= requires perl 5.8.0 or higher. Please install lang/perl5.8 and try again
+.if ${PERL_LEVEL} < 500702
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
.endif
.include <bsd.port.post.mk>
diff --git a/devel/p5-Exception-Class/pkg-plist b/devel/p5-Exception-Class/pkg-plist
index 35ae160a4820..8fd63b389ec9 100644
--- a/devel/p5-Exception-Class/pkg-plist
+++ b/devel/p5-Exception-Class/pkg-plist
@@ -1,5 +1,6 @@
-%%SITE_PERL%%/Exception/Class.pm
+@comment $FreeBSD$
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Exception/Class/.packlist
-@dirrm %%SITE_PERL%%/Exception
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Exception/Class
-@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Exception
+%%SITE_PERL%%/Exception/Class.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Exception/Class
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Exception
+@dirrmtry %%SITE_PERL%%/Exception