diff options
author | mm <mm@FreeBSD.org> | 2010-09-21 15:56:43 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2010-09-21 15:56:43 +0800 |
commit | a447d3207d987ddc5b4cb16345ffd07b474aea9c (patch) | |
tree | 740d2c4dbf9c6b5d7e0a621cb113b01436081f94 /net-mgmt/netdisco | |
parent | 755a0561c300f159d88d880440dc70a9ae0425e2 (diff) | |
download | freebsd-ports-gnome-a447d3207d987ddc5b4cb16345ffd07b474aea9c.tar.gz freebsd-ports-gnome-a447d3207d987ddc5b4cb16345ffd07b474aea9c.tar.zst freebsd-ports-gnome-a447d3207d987ddc5b4cb16345ffd07b474aea9c.zip |
Change dependency on old p5-Compress-Zlib, p5-IO-Compress-Base,
p5-IO-Compress-Zlib and p5-IO-Compress-Bzip2 modules to p5-IO-Compress.
Explicitly depend on p5-IO-Compress only if PERL_LEVEL < 500903
Bump PORTREVISION
Diffstat (limited to 'net-mgmt/netdisco')
-rw-r--r-- | net-mgmt/netdisco/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net-mgmt/netdisco/Makefile b/net-mgmt/netdisco/Makefile index 92f01adf96f7..c67f9bc613ff 100644 --- a/net-mgmt/netdisco/Makefile +++ b/net-mgmt/netdisco/Makefile @@ -7,7 +7,7 @@ PORTNAME= netdisco PORTVERSION= 0.95 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= net-mgmt www MASTER_SITES= SF DISTNAME= ${PORTNAME}-${PORTVERSION}_with_mibs @@ -25,7 +25,6 @@ RUN_DEPENDS+= ${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net-mgmt/p5-Net-SNMP \ ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg \ ${SITE_PERL}/${PERL_ARCH}/Apache/Test.pm:${PORTSDIR}/www/p5-Apache-Test \ - ${SITE_PERL}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \ ${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser \ ${SITE_PERL}/MasonX/Request/WithApacheSession.pm:${PORTSDIR}/www/p5-MasonX-Request-WithApacheSession @@ -57,6 +56,10 @@ CONFIG_FILES= netdisco.conf netdisco.crontab netdisco-topology.txt \ .include <bsd.port.pre.mk> +.if ${PERL_LEVEL} < 500903 +RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress +.endif + .if ${APACHE_VERSION} >= 20 RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2 \ ${SITE_PERL}/${PERL_ARCH}/APR/Request/Apache2.pm:${PORTSDIR}/www/p5-libapreq2 |