summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2016-08-24 09:34:32 +0000
committermaya <maya@pkgsrc.org>2016-08-24 09:34:32 +0000
commite1a0e9e3f86ddbb5d731e515b85884ffea632a1f (patch)
treec5ff9b9940551d6231c89b7f6417fb69bf8e4ba7 /audio
parent1e935f1e2438c703ef5854b263f9e2987967f89b (diff)
downloadpkgsrc-e1a0e9e3f86ddbb5d731e515b85884ffea632a1f.tar.gz
disable the ability to build cmus with curses libraries besides ncursesw.
cmus doesn't build with others because it uses a type MEVENT which is only available in ncursesw.
Diffstat (limited to 'audio')
-rw-r--r--audio/cmus/Makefile3
-rw-r--r--audio/cmus/options.mk18
2 files changed, 4 insertions, 17 deletions
diff --git a/audio/cmus/Makefile b/audio/cmus/Makefile
index aa35dc2a7d5..c5fa4563203 100644
--- a/audio/cmus/Makefile
+++ b/audio/cmus/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2016/08/17 00:06:40 ryoon Exp $
+# $NetBSD: Makefile,v 1.63 2016/08/24 09:34:32 maya Exp $
DISTNAME= cmus-2.7.1
PKGREVISION= 2
@@ -40,4 +40,5 @@ CONFIGURE_ARGS+= CONFIG_SUN=n
.include "../../mk/dlopen.buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/ncursesw/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/cmus/options.mk b/audio/cmus/options.mk
index dbb7e3931d2..dec6d251baa 100644
--- a/audio/cmus/options.mk
+++ b/audio/cmus/options.mk
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.14 2014/08/18 09:34:49 gls Exp $
+# $NetBSD: options.mk,v 1.15 2016/08/24 09:34:32 maya Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.cmus
PKG_SUPPORTED_OPTIONS= flac mad vorbis arts libao musepack faad wavpack pulseaudio
-PKG_SUPPORTED_OPTIONS+= wide-curses ffmpeg opus jack
+PKG_SUPPORTED_OPTIONS+= ffmpeg opus jack
PKG_OPTIONS_OPTIONAL_GROUPS= mod
PKG_OPTIONS_GROUP.mod= modplug mikmod
PKG_SUGGESTED_OPTIONS= flac libao mad modplug vorbis
@@ -167,17 +167,3 @@ PLIST.opus= yes
.else
CONFIGURE_ARGS+= CONFIG_OPUS=n
.endif
-
-###
-### Wide curses support; otherwise, default to using narrow curses.
-###
-# cmus works fine with a 5.0+ NetBSD curses
-.if !empty(MACHINE_PLATFORM:MNetBSD-[5-9].*-*)
-. include "../../mk/curses.buildlink3.mk"
-.else
-. if !empty(PKG_OPTIONS:Mwide-curses)
-. include "../../devel/ncursesw/buildlink3.mk"
-. else
-. include "../../devel/ncurses/buildlink3.mk"
-. endif
-.endif