pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/cmus cmus: Fix install on Darwin.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/76a52bf2f85c
branches:  trunk
changeset: 323391:76a52bf2f85c
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu May 09 13:22:58 2019 +0000

description:
cmus: Fix install on Darwin.

diffstat:

 audio/cmus/Makefile |  8 ++++++--
 audio/cmus/PLIST    |  3 ++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs (46 lines):

diff -r a8373ed86332 -r 76a52bf2f85c audio/cmus/Makefile
--- a/audio/cmus/Makefile       Thu May 09 12:07:45 2019 +0000
+++ b/audio/cmus/Makefile       Thu May 09 13:22:58 2019 +0000
@@ -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 @@
 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 @@
 CONFIGURE_ARGS+=       CONFIG_SUN=n
 .endif
 
+.if ${OPSYS} == "Darwin"
+PLIST.coreaudio=       yes
+.endif
+
 NOT_PAX_MPROTECT_SAFE+=        bin/cmus
 
 .include "options.mk"
diff -r a8373ed86332 -r 76a52bf2f85c audio/cmus/PLIST
--- a/audio/cmus/PLIST  Thu May 09 12:07:45 2019 +0000
+++ b/audio/cmus/PLIST  Thu May 09 13:22:58 2019 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index