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 /mail/mailscanner | |
parent | 755a0561c300f159d88d880440dc70a9ae0425e2 (diff) | |
download | freebsd-ports-graphics-a447d3207d987ddc5b4cb16345ffd07b474aea9c.tar.gz freebsd-ports-graphics-a447d3207d987ddc5b4cb16345ffd07b474aea9c.tar.zst freebsd-ports-graphics-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 'mail/mailscanner')
-rw-r--r-- | mail/mailscanner/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/mailscanner/Makefile b/mail/mailscanner/Makefile index 1def826fbce..b831025c877 100644 --- a/mail/mailscanner/Makefile +++ b/mail/mailscanner/Makefile @@ -7,6 +7,7 @@ PORTNAME= MailScanner PORTVERSION= 4.81.4 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.mailscanner.info/files/4/tar/ DISTNAME= ${PORTNAME}-install-${PORTVERSION}-${PATCHLEVEL} @@ -26,7 +27,6 @@ BUILD_DEPENDS= \ ${SITE_PERL}/Net/CIDR.pm:${PORTSDIR}/net-mgmt/p5-Net-CIDR \ ${SITE_PERL}/Net/Ident.pm:${PORTSDIR}/net/p5-Net-Ident \ ${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \ - ${SITE_PERL}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \ ${SITE_PERL}/${PERL_ARCH}/DBD/SQLite.pm:${PORTSDIR}/databases/p5-DBD-SQLite \ ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ ${SITE_PERL}/Time/Zone.pm:${PORTSDIR}/devel/p5-TimeDate \ @@ -59,6 +59,10 @@ MLINKS= MailScanner.8 mailscanner.8 .include <bsd.port.pre.mk> +.if ${PERL_LEVEL} < 500903 +BUILD_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress +.endif + .if defined(WITH_SPAMASSASSIN) RUN_DEPENDS+= spamassassin:${PORTSDIR}/mail/p5-Mail-SpamAssassin PLIST_SUB+= SPAMASSASSIN="" |