diff options
author | Martin Matuska <mm@FreeBSD.org> | 2010-09-21 16:08:11 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2010-09-21 16:08:11 +0000 |
commit | 17e550ca2fd180b150f6645ced5f3bb45bc32292 (patch) | |
tree | e856fa025c5b15bbef21f621e347c51780662a47 /devel/p5-Digest-TransformPath | |
parent | b4599e3d63c3a94b17026b18d1f8ac27faac53fc (diff) | |
download | ports-17e550ca2fd180b150f6645ced5f3bb45bc32292.tar.gz ports-17e550ca2fd180b150f6645ced5f3bb45bc32292.zip |
Explicitly depend on p5-Digest-MD5 only if PERL_LEVEL < 500703
Explicitly depend on p5-Digest-SHA only if PERL_LEVEL < 501000
Notes
Notes:
svn path=/head/; revision=261560
Diffstat (limited to 'devel/p5-Digest-TransformPath')
-rw-r--r-- | devel/p5-Digest-TransformPath/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/devel/p5-Digest-TransformPath/Makefile b/devel/p5-Digest-TransformPath/Makefile index 17e97fc33b45..57116a27e038 100644 --- a/devel/p5-Digest-TransformPath/Makefile +++ b/devel/p5-Digest-TransformPath/Makefile @@ -7,6 +7,7 @@ PORTNAME= Digest-TransformPath PORTVERSION= 1.00 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -14,9 +15,6 @@ PKGNAMEPREFIX= p5- MAINTAINER= coryking@mozimedia.com COMMENT= Implements the TransformPath concept -BUILD_DEPENDS= p5-Digest-MD5>=2.36:${PORTSDIR}/security/p5-Digest-MD5 -RUN_DEPENDS= p5-Digest-MD5>=2.36:${PORTSDIR}/security/p5-Digest-MD5 - PERL_CONFIGURE= yes MAN3= Digest::TransformPath.3 @@ -24,4 +22,11 @@ MAN3= Digest::TransformPath.3 test: build (@cd ${WRKSRC} && make test) -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500809 +RUN_DEPENDS+= p5-Digest-MD5>=2.36:${PORTSDIR}/security/p5-Digest-MD5 +BUILD_DEPENDS+= p5-Digest-MD5>=2.36:${PORTSDIR}/security/p5-Digest-MD5 +.endif + +.include <bsd.port.post.mk> |