- unbreak on old perl

- add RUN_DEPENDS = BUILD_DEPENDS

PR:		90847
Submitted by:	leeym
Approved by:	maintainer
This commit is contained in:
Yen-Ming Lee 2005-12-23 17:45:51 +00:00
parent d2158059d2
commit 97afbf5887
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=151929

View File

@ -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>