pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/cmus disable the ability to build cmus with curs...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c0ab2ff36096
branches:  trunk
changeset: 351637:c0ab2ff36096
user:      maya <maya%pkgsrc.org@localhost>
date:      Wed Aug 24 09:34:32 2016 +0000

description:
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:

 audio/cmus/Makefile   |   3 ++-
 audio/cmus/options.mk |  18 ++----------------
 2 files changed, 4 insertions(+), 17 deletions(-)

diffs (47 lines):

diff -r 392117f3000f -r c0ab2ff36096 audio/cmus/Makefile
--- a/audio/cmus/Makefile       Wed Aug 24 07:18:54 2016 +0000
+++ b/audio/cmus/Makefile       Wed Aug 24 09:34:32 2016 +0000
@@ -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 @@
 
 .include "../../mk/dlopen.buildlink3.mk"
 .include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/ncursesw/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 392117f3000f -r c0ab2ff36096 audio/cmus/options.mk
--- a/audio/cmus/options.mk     Wed Aug 24 07:18:54 2016 +0000
+++ b/audio/cmus/options.mk     Wed Aug 24 09:34:32 2016 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index