aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Digest-EMAC
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2005-12-23 17:47:26 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2005-12-23 17:47:26 +0000
commitc910674acfec5403e0876b3c73aa23c4ba001b56 (patch)
tree51259ff301e6f237d3b0154a2aa9c9996af11358 /security/p5-Digest-EMAC
parent97afbf58875b795ad2f54a76c265c07ee4aae07f (diff)
downloadports-c910674acfec5403e0876b3c73aa23c4ba001b56.tar.gz
ports-c910674acfec5403e0876b3c73aa23c4ba001b56.zip
Notes
Diffstat (limited to 'security/p5-Digest-EMAC')
-rw-r--r--security/p5-Digest-EMAC/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/security/p5-Digest-EMAC/Makefile b/security/p5-Digest-EMAC/Makefile
index 3eb784cd963d..bfcad1f4f20e 100644
--- a/security/p5-Digest-EMAC/Makefile
+++ b/security/p5-Digest-EMAC/Makefile
@@ -15,13 +15,17 @@ COMMENT= Perl5 interface to EMAC 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::EMAC.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}/EMAC.pm ${WRKSRC}/t/*.t
.endif
+
.include <bsd.port.post.mk>