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/p5-Net-SAP | |
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/p5-Net-SAP')
-rw-r--r-- | net/p5-Net-SAP/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/net/p5-Net-SAP/Makefile b/net/p5-Net-SAP/Makefile index 4f4a843c02c7..4889693860d8 100644 --- a/net/p5-Net-SAP/Makefile +++ b/net/p5-Net-SAP/Makefile @@ -7,6 +7,7 @@ PORTNAME= Net-SAP PORTVERSION= 0.10 +PORTREVISION= 1 CATEGORIES= net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -14,13 +15,19 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Session Announcement Protocol (rfc2974) packet parser -RUN_DEPENDS= ${SITE_PERL}/Net/SDP.pm:${PORTSDIR}/net/p5-Net-SDP \ - ${SITE_PERL}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib -BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= ${SITE_PERL}/Net/SDP.pm:${PORTSDIR}/net/p5-Net-SDP +BUILD_DEPENDS= ${SITE_PERL}/Net/SDP.pm:${PORTSDIR}/net/p5-Net-SDP PERL_MODBUILD= YES MAN1= psapd.1 MAN3= Net::SAP.3 Net::SAP::Packet.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500903 +RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress +BUILD_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress +.endif + +.include <bsd.port.post.mk> |