diff options
author | sobomax <sobomax@FreeBSD.org> | 2003-02-21 00:33:26 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2003-02-21 00:33:26 +0800 |
commit | 1e607f868b5505e10fabe70f19c1c6e491e4d1a0 (patch) | |
tree | 5a6539846b1be0d7960d421883f382b1984b610b /www/p5-Apache-Session | |
parent | 548c9ae86f72ebe1570fffefb0f5b4dd3f3c0ab1 (diff) | |
download | freebsd-ports-graphics-1e607f868b5505e10fabe70f19c1c6e491e4d1a0.tar.gz freebsd-ports-graphics-1e607f868b5505e10fabe70f19c1c6e491e4d1a0.tar.zst freebsd-ports-graphics-1e607f868b5505e10fabe70f19c1c6e491e4d1a0.zip |
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
Diffstat (limited to 'www/p5-Apache-Session')
-rw-r--r-- | www/p5-Apache-Session/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/www/p5-Apache-Session/Makefile b/www/p5-Apache-Session/Makefile index 5d0024c859d..04a0e7d8bab 100644 --- a/www/p5-Apache-Session/Makefile +++ b/www/p5-Apache-Session/Makefile @@ -15,8 +15,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= frank@exit.com -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/mod_perl.pm:${CPORTSDIR}/apache13-modssl-modperl RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes @@ -48,4 +47,10 @@ MAN3= Apache::Session.3 \ Apache::Session::Store::Sybase.3 \ Apache::Session::Sybase.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500800 +BUILD_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable +.endif + +.include <bsd.port.post.mk> |