aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2010-05-22 00:23:46 +0800
committernaddy <naddy@FreeBSD.org>2010-05-22 00:23:46 +0800
commit49639d17a2fdbc05df5cd315a85b532aa16d2589 (patch)
tree1c14ace8b2285b597feb56698cf475e81b2591b1 /audio
parent22a2c1c2a6ad16ea36eb8e89262f2e501955bf56 (diff)
downloadfreebsd-ports-gnome-49639d17a2fdbc05df5cd315a85b532aa16d2589.tar.gz
freebsd-ports-gnome-49639d17a2fdbc05df5cd315a85b532aa16d2589.tar.zst
freebsd-ports-gnome-49639d17a2fdbc05df5cd315a85b532aa16d2589.zip
The xz utils and lzma library have been imported into base, so make
the dependency on the archivers/xz port conditional on OSVERSION.
Diffstat (limited to 'audio')
-rw-r--r--audio/gnormalize/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/audio/gnormalize/Makefile b/audio/gnormalize/Makefile
index 8c84ad995e3b..9c7460bdbc77 100644
--- a/audio/gnormalize/Makefile
+++ b/audio/gnormalize/Makefile
@@ -14,7 +14,6 @@ MASTER_SITES= SF
MAINTAINER= darcsis@gmail.com
COMMENT= An alternative for replaygain
-BUILD_DEPENDS+= lzma:${PORTSDIR}/archivers/xz
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
wavegain:${PORTSDIR}/audio/wavegain
@@ -80,6 +79,10 @@ RUN_DEPENDS+= mac:${PORTSDIR}/audio/mac
RUN_DEPENDS+= mppenc:${PORTSDIR}/audio/musepack
.endif
+.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
+BUILD_DEPENDS+= lzma:${PORTSDIR}/archivers/xz
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's,^PREFIX=.*,PREFIX=${PREFIX},; \
s,^MANDIR=.*,MANDIR=${MANPREFIX}/man,; \