diff options
author | leeym <leeym@FreeBSD.org> | 2005-12-24 01:45:51 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2005-12-24 01:45:51 +0800 |
commit | 43ad84dc00e6422705da1b4d462e5ae7ced63e54 (patch) | |
tree | 28c77a7d3bbc2c9cb96a124894e80ab75afbddd6 /security/p5-Digest-DMAC | |
parent | 946d28b8feaaab767143a2c5a085d151ca005140 (diff) | |
download | freebsd-ports-gnome-43ad84dc00e6422705da1b4d462e5ae7ced63e54.tar.gz freebsd-ports-gnome-43ad84dc00e6422705da1b4d462e5ae7ced63e54.tar.zst freebsd-ports-gnome-43ad84dc00e6422705da1b4d462e5ae7ced63e54.zip |
- unbreak on old perl
- add RUN_DEPENDS = BUILD_DEPENDS
PR: 90847
Submitted by: leeym
Approved by: maintainer
Diffstat (limited to 'security/p5-Digest-DMAC')
-rw-r--r-- | security/p5-Digest-DMAC/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/security/p5-Digest-DMAC/Makefile b/security/p5-Digest-DMAC/Makefile index 0ee6b117d981..62c6b3e9bafe 100644 --- a/security/p5-Digest-DMAC/Makefile +++ b/security/p5-Digest-DMAC/Makefile @@ -15,13 +15,17 @@ COMMENT= Perl5 interface to DMAC Double Message-Digest Algorithms BUILD_DEPENDS= ${SITE_PERL}/Crypt/CBC.pm:${PORTSDIR}/security/p5-Crypt-CBC \ ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 +RUN_DEPENDS= ${BUILD_DEPENDS} -PERL_CONFIGURE= yes +PERL_CONFIGURE= yes MAN3= Digest::DMAC.3 .include <bsd.port.pre.mk> -.if ${PERL_LEVEL} <= 500503 -IGNORE= requires Perl 5.6. Intall lang/perl5 or lang/perl5.8, and try again + +.if ${PERL_LEVEL} < 500600 +post-patch: + ${PERL} -pi -e '$$_ = "" if m{warnings}' ${WRKSRC}/DMAC.pm ${WRKSRC}/t/*.t .endif + .include <bsd.port.post.mk> |