aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
Diffstat (limited to 'dns')
-rw-r--r--dns/p5-Net-Domain-TLD/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/dns/p5-Net-Domain-TLD/Makefile b/dns/p5-Net-Domain-TLD/Makefile
index c19c33b670df..97472e3fe017 100644
--- a/dns/p5-Net-Domain-TLD/Makefile
+++ b/dns/p5-Net-Domain-TLD/Makefile
@@ -7,16 +7,18 @@
PORTNAME= Net-Domain-TLD
PORTVERSION= 1.65
+PORTREVISION= 1
CATEGORIES= dns perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
-COMMENT= Net::Domain::TLD - look up and validate TLDs
+COMMENT= Look up and validate TLDs
-BUILD_DEPENDS= ${SITE_PERL}/Memoize.pm:${PORTSDIR}/devel/p5-Memoize
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
+BUILD_DEPENDS= ${RUN_DEPENDS}
+BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
PERL_CONFIGURE= yes
@@ -25,7 +27,9 @@ MAN3= Net::Domain::TLD.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
-IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
+post-patch:
+ ${PERL} -pi -e 's/^\s*our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \
+ -e 's/.*warnings.*//' ${WRKSRC}/lib/Net/Domain/TLD.pm
.endif
.include <bsd.port.post.mk>