diff options
author | edwin <edwin@FreeBSD.org> | 2003-04-13 20:28:23 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-04-13 20:28:23 +0800 |
commit | 48a241b76eec811abc57f7b6cb09e19340fc862c (patch) | |
tree | de759967af3bbf8379751e686f131f856622d20e /dns/p5-Net-DNS-SEC | |
parent | 1f26dd33c2e40b49947e66b88565d60ed8c823d6 (diff) | |
download | freebsd-ports-gnome-48a241b76eec811abc57f7b6cb09e19340fc862c.tar.gz freebsd-ports-gnome-48a241b76eec811abc57f7b6cb09e19340fc862c.tar.zst freebsd-ports-gnome-48a241b76eec811abc57f7b6cb09e19340fc862c.zip |
Conditionalize dependencies for moudules included in perl 5.8
Make dependencies on modules included in the perl 5.8
distribution conditional on the perl version installed.
While I'm here, remove SITE_PERL and MAN(3)PREFIX.
17 + 29 + 234 = 280 PRs. It's about time he starts doing the work himself!
PR: ports/50588
Submitted by: Erwin Lansing <erwin@lansing.dk>
Diffstat (limited to 'dns/p5-Net-DNS-SEC')
-rw-r--r-- | dns/p5-Net-DNS-SEC/Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/dns/p5-Net-DNS-SEC/Makefile b/dns/p5-Net-DNS-SEC/Makefile index d2de181426c6..55393d6f0395 100644 --- a/dns/p5-Net-DNS-SEC/Makefile +++ b/dns/p5-Net-DNS-SEC/Makefile @@ -19,16 +19,22 @@ COMMENT= DNSSEC extensions to Net::DNS BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/DNS.pm:${PORTSDIR}/net/p5-Net-DNS \ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Crypt/OpenSSL/RSA.pm:${PORTSDIR}/security/p5-Crypt-OpenSSL-RSA \ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Crypt/OpenSSL/DSA.pm:${PORTSDIR}/security/p5-Crypt-OpenSSL-DSA \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Digest/BubbleBabble.pm:${PORTSDIR}/security/p5-Digest-BubbleBabble \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Digest/BubbleBabble.pm:${PORTSDIR}/security/p5-Digest-BubbleBabble RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes -MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= Net::DNS::Keyset.3 Net::DNS::RR::DS.3 Net::DNS::RR::KEY.3 \ Net::DNS::RR::NXT.3 Net::DNS::RR::SIG.3 \ Net::DNS::RR::SIG::Private.3 Net::DNS::SEC.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500800 +BUILD_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \ + ${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}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 +.endif + +.include <bsd.port.post.mk> |