diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2003-02-20 16:33:26 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2003-02-20 16:33:26 +0000 |
commit | 628b215647a7f7c1e3232ad55bb67fd7cbdb9f14 (patch) | |
tree | 9dee99152b7b92fefea393e2a79a64b07ab74dff /dns/p5-Net-DNS | |
parent | make it work with teTeX 2.0.1 (diff) |
Conditionalise several dependencies on PERL_LEVEL to make those ports more
friendly for perl-5.8.0, which has those dependencies included into the
base distribution.
Sponsired by: Porta Software Ltd
Notes
Notes:
svn path=/head/; revision=75949
Diffstat (limited to 'dns/p5-Net-DNS')
-rw-r--r-- | dns/p5-Net-DNS/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/dns/p5-Net-DNS/Makefile b/dns/p5-Net-DNS/Makefile index de9c8696e2d9..ab79a0a6c31b 100644 --- a/dns/p5-Net-DNS/Makefile +++ b/dns/p5-Net-DNS/Makefile @@ -16,8 +16,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= DougB@FreeBSD.org # Warnings during build are harmless, the port does not need these to build -RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Digest/HMAC_MD5.pm:${PORTSDIR}/security/p5-Digest-HMAC \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 +RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Digest/HMAC_MD5.pm:${PORTSDIR}/security/p5-Digest-HMAC PERL_CONFIGURE= yes @@ -40,6 +39,12 @@ MAN3= Net::DNS.3 Net::DNS::Header.3 Net::DNS::Packet.3 \ Net::DNS::RR::OPT.3 Net::DNS::RR::TSIG.3 Net::DNS::RR::DNAME.3 \ Net::DNS::Resolver::Recurse.3 +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500800 +RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 +.endif + DOCSDIR= ${PREFIX}/share/doc/p5-Net-DNS post-install: .if !defined(NOPORTDOCS) @@ -49,4 +54,4 @@ post-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |