diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2004-02-23 14:35:23 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2004-02-23 14:35:23 +0000 |
commit | 3c0de1701e461d1c4b9ab748ba9815ca3fce45f9 (patch) | |
tree | 6cc126e6255c4e0994f4e796d0e8a8877878f6c3 /security/p5-Digest | |
parent | b3cb478760700f0faf22f10fce3bb86881291bd8 (diff) | |
download | ports-3c0de1701e461d1c4b9ab748ba9815ca3fce45f9.tar.gz ports-3c0de1701e461d1c4b9ab748ba9815ca3fce45f9.zip |
Remove dependency on MIME::Base64 if perl >= 5.8.0
PR: ports/62934
Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
Notes
Notes:
svn path=/head/; revision=101863
Diffstat (limited to 'security/p5-Digest')
-rw-r--r-- | security/p5-Digest/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/security/p5-Digest/Makefile b/security/p5-Digest/Makefile index 799c394e9ece..0832c257a377 100644 --- a/security/p5-Digest/Makefile +++ b/security/p5-Digest/Makefile @@ -15,12 +15,16 @@ PKGNAMEPREFIX= p5- MAINTAINER= skv@FreeBSD.org COMMENT= Modules that calculate message digests -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 -RUN_DEPENDS= ${BUILD_DEPENDS} - PERL_CONFIGURE= yes CONFIGURE_ARGS+= INSTALLDIRS="site" MAN3= Digest.3 Digest::base.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500800 +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 +RUN_DEPENDS= ${BUILD_DEPENDS} +.endif + +.include <bsd.port.post.mk> |