pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/weechat Add a wide-curses option, to enable utf-8...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b0bebe51a4ad
branches:  trunk
changeset: 542298:b0bebe51a4ad
user:      tonio <tonio%pkgsrc.org@localhost>
date:      Sun May 11 19:10:30 2008 +0000

description:
Add a wide-curses option, to enable utf-8 support.
Based on patch from Leonardo Taccari in PR pkg/38418

diffstat:

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

diffs (41 lines):

diff -r 7493b7ae33aa -r b0bebe51a4ad chat/weechat/Makefile
--- a/chat/weechat/Makefile     Sun May 11 18:39:20 2008 +0000
+++ b/chat/weechat/Makefile     Sun May 11 19:10:30 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2007/10/12 23:06:27 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2008/05/11 19:10:30 tonio Exp $
 #
 
 DISTNAME=      weechat-0.2.6
@@ -26,5 +26,4 @@
 
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../converters/libiconv/buildlink3.mk"
-.include "../../devel/ncurses/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 7493b7ae33aa -r b0bebe51a4ad chat/weechat/options.mk
--- a/chat/weechat/options.mk   Sun May 11 18:39:20 2008 +0000
+++ b/chat/weechat/options.mk   Sun May 11 19:10:30 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.4 2008/04/12 22:42:58 jlam Exp $
+# $NetBSD: options.mk,v 1.5 2008/05/11 19:10:30 tonio Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.weechat
-PKG_SUPPORTED_OPTIONS= charset gnutls python lua
+PKG_SUPPORTED_OPTIONS= charset gnutls python lua wide-curses
 PKG_SUGGESTED_OPTIONS= charset
 
 .include "../../mk/bsd.options.mk"
@@ -19,6 +19,12 @@
 .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"
 CONFIGURE_ARGS+=       --enable-python



Home | Main Index | Thread Index | Old Index