diff options
author | mm <mm@FreeBSD.org> | 2010-09-21 07:56:43 +0000 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2010-09-21 07:56:43 +0000 |
commit | a447d3207d987ddc5b4cb16345ffd07b474aea9c (patch) | |
tree | 740d2c4dbf9c6b5d7e0a621cb113b01436081f94 /audio | |
parent | 755a0561c300f159d88d880440dc70a9ae0425e2 (diff) | |
download | FreeBSD-ports-a447d3207d987ddc5b4cb16345ffd07b474aea9c.zip FreeBSD-ports-a447d3207d987ddc5b4cb16345ffd07b474aea9c.tar.gz |
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 'audio')
-rw-r--r-- | audio/p5-tagged/Makefile | 12 | ||||
-rw-r--r-- | audio/squeezeboxserver/Makefile | 9 |
2 files changed, 14 insertions, 7 deletions
diff --git a/audio/p5-tagged/Makefile b/audio/p5-tagged/Makefile index 321e5e4..4dcf5e7 100644 --- a/audio/p5-tagged/Makefile +++ b/audio/p5-tagged/Makefile @@ -16,9 +16,6 @@ PKGNAMEPREFIX= p5- MAINTAINER= ports@FreeBSD.org COMMENT= Read, change and write different tags of MP3 audio files -BUILD_DEPENDS= ${SITE_PERL}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib -RUN_DEPENDS= ${BUILD_DEPENDS} - PERL_CONFIGURE= yes MAN3= MP3::Tag::ID3v2.3 MP3::Tag.3 MP3::Tag::File.3 \ @@ -26,4 +23,11 @@ MAN3= MP3::Tag::ID3v2.3 MP3::Tag.3 MP3::Tag::File.3 \ CONFLICTS= p5-MP3-Tag-0.* -.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> diff --git a/audio/squeezeboxserver/Makefile b/audio/squeezeboxserver/Makefile index 20de191..356ffd9 100644 --- a/audio/squeezeboxserver/Makefile +++ b/audio/squeezeboxserver/Makefile @@ -7,7 +7,7 @@ PORTNAME= squeezeboxserver PORTVERSION= 7.5.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= http://downloads.slimdevices.com/SqueezeboxServer_v${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-noCPAN @@ -31,8 +31,7 @@ RESTRICTED= Contains non-redistributable firmware, documentation, and images WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-30836-noCPAN -RUN_DEPENDS+= ${SITE_PERL}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \ - ${SITE_PERL}/DBIx/Class.pm:${PORTSDIR}/databases/p5-DBIx-Class \ +RUN_DEPENDS+= ${SITE_PERL}/DBIx/Class.pm:${PORTSDIR}/databases/p5-DBIx-Class \ ${SITE_PERL}/File/Which.pm:${PORTSDIR}/sysutils/p5-File-Which \ ${SITE_PERL}/URI/Find.pm:${PORTSDIR}/textproc/p5-URI-Find \ ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql \ @@ -54,6 +53,10 @@ USE_PERL5= yes .include <bsd.port.pre.mk> +.if ${PERL_LEVEL} < 500903 +RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress +.endif + USE_MYSQL= yes IGNORE_WITH_MYSQL= 323 40 |