diff options
author | skv <skv@FreeBSD.org> | 2004-02-23 22:35:23 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2004-02-23 22:35:23 +0800 |
commit | 3446b98699f5463ec6d30964aa6ed3593a8f936c (patch) | |
tree | 247de8d2d4c43d47462182d88b170407166cc60b | |
parent | fc0f54d89d7c754687ffb770a323f289b5881647 (diff) | |
download | freebsd-ports-gnome-3446b98699f5463ec6d30964aa6ed3593a8f936c.tar.gz freebsd-ports-gnome-3446b98699f5463ec6d30964aa6ed3593a8f936c.tar.zst freebsd-ports-gnome-3446b98699f5463ec6d30964aa6ed3593a8f936c.zip |
Remove dependency on MIME::Base64 if perl >= 5.8.0
PR: ports/62934
Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
-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> |