diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2008-09-03 18:19:14 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2008-09-03 18:19:14 +0000 |
commit | 13739c4a7e66097b24bd5b86b3c21e1c856d4df8 (patch) | |
tree | 4f176ec5c4f79348e490616e1130be20e776ea57 /security/p5-Digest-MD5 | |
parent | 513fae961cc06138fc731bf90aa0adee2d7f8f03 (diff) |
Notes
Diffstat (limited to 'security/p5-Digest-MD5')
-rw-r--r-- | security/p5-Digest-MD5/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/security/p5-Digest-MD5/Makefile b/security/p5-Digest-MD5/Makefile index 0ef9e532b1dd..0b89071682d1 100644 --- a/security/p5-Digest-MD5/Makefile +++ b/security/p5-Digest-MD5/Makefile @@ -7,6 +7,7 @@ PORTNAME= Digest-MD5 PORTVERSION= 2.36 +PORTREVISION= 1 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -14,17 +15,14 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl5 interface to the MD5 algorithm -BUILD_DEPENDS= ${SITE_PERL}/Digest.pm:${PORTSDIR}/security/p5-Digest -RUN_DEPENDS:= ${BUILD_DEPENDS} - PERL_CONFIGURE= yes MAN3= Digest::MD5.3 .include <bsd.port.pre.mk> -post-patch: - ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/MD5.pm - ${PERL} -pi -e '$$_ = "" if m{5.006}' ${WRKSRC}/Makefile.PL +.if ${PERL_LEVEL} < 500803 +RUN_DEPENDS+= ${SITE_PERL}/Digest/base.pm:${PORTSDIR}/security/p5-Digest +.endif .include <bsd.port.post.mk> |