summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2019-05-09 13:22:58 +0000
committerjperkin <jperkin@pkgsrc.org>2019-05-09 13:22:58 +0000
commit72e81933881ecff39953359110e437d907a7f602 (patch)
tree2cd2151db5c4774b1882250882ef04871dcaa37e /audio
parent95fe4ce10fb2f4d023e7310ca69e84ce31ae91d7 (diff)
downloadpkgsrc-72e81933881ecff39953359110e437d907a7f602.tar.gz
cmus: Fix install on Darwin.
Diffstat (limited to 'audio')
-rw-r--r--audio/cmus/Makefile8
-rw-r--r--audio/cmus/PLIST3
2 files changed, 8 insertions, 3 deletions
diff --git a/audio/cmus/Makefile b/audio/cmus/Makefile
index 5e66f6dfcb3..2c6ebb51bd2 100644
--- a/audio/cmus/Makefile
+++ b/audio/cmus/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.75 2019/02/11 10:07:37 nia Exp $
+# $NetBSD: Makefile,v 1.76 2019/05/09 13:22:58 jperkin Exp $
DISTNAME= cmus-2.8.0
CATEGORIES= audio
@@ -19,7 +19,7 @@ REPLACE_SH+= cmus-status-display
CONFIGURE_ARGS+= prefix=${PREFIX}
CONFIGURE_ARGS+= CONFIG_ALSA=n
CONFIGURE_ARGS+= mandir=${PREFIX}/${PKGMANDIR}
-PLIST_VARS+= sunaudio oss
+PLIST_VARS+= coreaudio sunaudio oss
.include "../../mk/oss.buildlink3.mk"
.if ${OSS_TYPE} != "none"
@@ -37,6 +37,10 @@ PLIST.sunaudio= yes
CONFIGURE_ARGS+= CONFIG_SUN=n
.endif
+.if ${OPSYS} == "Darwin"
+PLIST.coreaudio= yes
+.endif
+
NOT_PAX_MPROTECT_SAFE+= bin/cmus
.include "options.mk"
diff --git a/audio/cmus/PLIST b/audio/cmus/PLIST
index 035748cd9f7..fcfed9a0d59 100644
--- a/audio/cmus/PLIST
+++ b/audio/cmus/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2019/02/11 10:07:37 nia Exp $
+@comment $NetBSD: PLIST,v 1.17 2019/05/09 13:22:58 jperkin Exp $
bin/cmus
bin/cmus-remote
${PLIST.faad}lib/cmus/ip/aac.so
@@ -15,6 +15,7 @@ ${PLIST.vorbis}lib/cmus/ip/vorbis.so
lib/cmus/ip/wav.so
${PLIST.wavpack}lib/cmus/ip/wavpack.so
${PLIST.libao}lib/cmus/op/ao.so
+${PLIST.coreaudio}lib/cmus/op/coreaudio.so
${PLIST.jack}lib/cmus/op/jack.so
${PLIST.oss}lib/cmus/op/oss.so
${PLIST.pulseaudio}lib/cmus/op/pulse.so