summaryrefslogtreecommitdiff
path: root/audio/cmus
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2010-09-21 16:48:04 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2010-09-21 16:48:04 +0000
commit2ee00782edeff84bd0019c4b56770b474ab02be6 (patch)
treee11051f9e683f2860aaa92e011b3c16720e557fe /audio/cmus
parent17e550ca2fd180b150f6645ced5f3bb45bc32292 (diff)
downloadfreebsd-ports-2ee00782edeff84bd0019c4b56770b474ab02be6.zip
Switch to audio/musepack from deprecated audio/libmpcdec
PR: ports/150510 Submitted by: Ganael Laplanche <ganael.laplanche at martymac.org> Approved by: maintainer
Diffstat (limited to 'audio/cmus')
-rw-r--r--audio/cmus/Makefile4
-rw-r--r--audio/cmus/files/patch-configure11
2 files changed, 13 insertions, 2 deletions
diff --git a/audio/cmus/Makefile b/audio/cmus/Makefile
index 842fb75aae65..636105e10021 100644
--- a/audio/cmus/Makefile
+++ b/audio/cmus/Makefile
@@ -7,7 +7,7 @@
PORTNAME= cmus
PORTVERSION= 2.3.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -80,7 +80,7 @@ PLIST_SUB+= MIKMOD="@comment "
.endif
.if defined(WITH_MUSEPACK)
-LIB_DEPENDS+= mpcdec:${PORTSDIR}/audio/libmpcdec
+LIB_DEPENDS+= mpcdec:${PORTSDIR}/audio/musepack
CONFIGURE_ARGS+=CONFIG_MPC=y
PLIST_SUB+= MPC=""
.else
diff --git a/audio/cmus/files/patch-configure b/audio/cmus/files/patch-configure
new file mode 100644
index 000000000000..96d84302b8d4
--- /dev/null
+++ b/audio/cmus/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2010-09-10 23:37:55.577146100 +0200
++++ configure 2010-09-10 23:38:07.609090631 +0200
+@@ -135,7 +135,7 @@
+ {
+ check_header mpc/mpcdec.h
+ MPC_SV7=$?
+- check_library MPC "" "-lmpcdec"
++ check_library MPC "" "-lmpcdec -lm"
+ return $?
+ }
+