From 72e81933881ecff39953359110e437d907a7f602 Mon Sep 17 00:00:00 2001 From: jperkin Date: Thu, 9 May 2019 13:22:58 +0000 Subject: cmus: Fix install on Darwin. --- audio/cmus/Makefile | 8 ++++++-- audio/cmus/PLIST | 3 ++- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'audio') 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 -- cgit v1.2.3