pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/weechat Use curses framework, may fix PR pkg/47472.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e5beb7dd7c22
branches:  trunk
changeset: 356706:e5beb7dd7c22
user:      roy <roy%pkgsrc.org@localhost>
date:      Tue Jan 03 20:49:23 2017 +0000

description:
Use curses framework, may fix PR pkg/47472.

diffstat:

 chat/weechat/Makefile   |  6 ++++--
 chat/weechat/options.mk |  9 ++-------
 2 files changed, 6 insertions(+), 9 deletions(-)

diffs (56 lines):

diff -r baf1e2d9adb5 -r e5beb7dd7c22 chat/weechat/Makefile
--- a/chat/weechat/Makefile     Tue Jan 03 19:52:38 2017 +0000
+++ b/chat/weechat/Makefile     Tue Jan 03 20:49:23 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.66 2017/01/01 16:06:05 adam Exp $
+# $NetBSD: Makefile,v 1.67 2017/01/03 20:49:23 roy Exp $
 
 DISTNAME=      weechat-1.5
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    chat
 MASTER_SITES=  http://www.weechat.org/files/src/
 EXTRACT_SUFX=  .tar.bz2
@@ -18,6 +18,7 @@
 USE_LANGUAGES=         c99
 USE_LIBTOOL=           yes
 USE_CMAKE=             yes
+FAKE_NCURSES=          yes
 
 CMAKE_ARGS+=           -DENABLE_ASPELL:BOOL=OFF
 CMAKE_ARGS+=           -DENABLE_GUILE:BOOL=OFF
@@ -39,4 +40,5 @@
 .include "../../www/curl/buildlink3.mk"
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../security/libgcrypt/buildlink3.mk"
+.include "../../mk/curses.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r baf1e2d9adb5 -r e5beb7dd7c22 chat/weechat/options.mk
--- a/chat/weechat/options.mk   Tue Jan 03 19:52:38 2017 +0000
+++ b/chat/weechat/options.mk   Tue Jan 03 20:49:23 2017 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: options.mk,v 1.15 2016/05/19 10:51:40 jperkin Exp $
+# $NetBSD: options.mk,v 1.16 2017/01/03 20:49:23 roy Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.weechat
 PKG_SUPPORTED_OPTIONS= gnutls python lua wide-curses perl ruby
 PKG_SUGGESTED_OPTIONS= gnutls
 
 .include "../../mk/bsd.options.mk"
+# mk/curses wull handle wide-curses
 
 PLIST_VARS+=           lua plugin python perl ruby
 
@@ -12,12 +13,6 @@
 .include "../../security/gnutls/buildlink3.mk"
 .endif
 
-.if !empty(PKG_OPTIONS:Mwide-curses)
-.include "../../devel/ncursesw/buildlink3.mk"
-.else
-.include "../../devel/ncurses/buildlink3.mk"
-.endif
-
 .if !empty(PKG_OPTIONS:Mpython)
 .include "../../lang/python/extension.mk"
 CMAKE_ARGS+=           -DENABLE_PYTHON:BOOL=ON



Home | Main Index | Thread Index | Old Index