diff options
author | tobez <tobez@FreeBSD.org> | 2006-12-22 17:35:10 +0800 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2006-12-22 17:35:10 +0800 |
commit | d65961430847d65218e6b3d7671063634e3e9269 (patch) | |
tree | b019739e6e3c98f1ee3dc838ecb7cab8fd2b1b41 /dns/p5-Net-Domain-TLD | |
parent | c4a480720ced45548a9e56f21edb1f5e5d3e020b (diff) | |
download | freebsd-ports-graphics-d65961430847d65218e6b3d7671063634e3e9269.tar.gz freebsd-ports-graphics-d65961430847d65218e6b3d7671063634e3e9269.tar.zst freebsd-ports-graphics-d65961430847d65218e6b3d7671063634e3e9269.zip |
- unbreak under old perl
- refine COMMENT
- correct dependencies
PR: 99505
Submitted by: leeym
Diffstat (limited to 'dns/p5-Net-Domain-TLD')
-rw-r--r-- | dns/p5-Net-Domain-TLD/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/dns/p5-Net-Domain-TLD/Makefile b/dns/p5-Net-Domain-TLD/Makefile index c19c33b670d..97472e3fe01 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> |