pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/weechat This pkg uses KEY_RESIZE which is not ava...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/902da73c224e
branches:  trunk
changeset: 483046:902da73c224e
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Sat Nov 06 17:50:09 2004 +0000

description:
This pkg uses KEY_RESIZE which is not available on NetBSD 1.6 and earlier.
Set INCOMPAT_CURSES, and make it find -lncurses when linking.

diffstat:

 chat/weechat/Makefile         |   4 +++-
 chat/weechat/distinfo         |   3 ++-
 chat/weechat/patches/patch-ac |  28 ++++++++++++++++++++++++++++
 3 files changed, 33 insertions(+), 2 deletions(-)

diffs (62 lines):

diff -r 3168d486f04a -r 902da73c224e chat/weechat/Makefile
--- a/chat/weechat/Makefile     Sat Nov 06 17:40:15 2004 +0000
+++ b/chat/weechat/Makefile     Sat Nov 06 17:50:09 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2004/10/03 00:13:15 tv Exp $
+# $NetBSD: Makefile,v 1.4 2004/11/06 17:50:09 kristerw Exp $
 #
 
 DISTNAME=      weechat-0.0.6
@@ -19,6 +19,8 @@
 USE_PKGLOCALEDIR=      yes
 GNU_CONFIGURE=         yes
 
+INCOMPAT_CURSES+=      NetBSD-1.*
+
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/ncurses/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 3168d486f04a -r 902da73c224e chat/weechat/distinfo
--- a/chat/weechat/distinfo     Sat Nov 06 17:40:15 2004 +0000
+++ b/chat/weechat/distinfo     Sat Nov 06 17:50:09 2004 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/06/05 17:45:32 xtraeme Exp $
+$NetBSD: distinfo,v 1.2 2004/11/06 17:50:09 kristerw Exp $
 
 SHA1 (weechat-0.0.6.tar.bz2) = e46ccd7c8b5f4065a26cb8d68331f1a24cffa4bc
 Size (weechat-0.0.6.tar.bz2) = 278999 bytes
 SHA1 (patch-aa) = a5f678cd2507448c384bf55d084e03b677c97ca6
 SHA1 (patch-ab) = ef3aa182806a26507acb9c727df4b72d492a3f9f
+SHA1 (patch-ac) = 9db17350280ce82b6aec863fccac62f3d3b36ca4
diff -r 3168d486f04a -r 902da73c224e chat/weechat/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/weechat/patches/patch-ac     Sat Nov 06 17:50:09 2004 +0000
@@ -0,0 +1,28 @@
+--- configure.orig     Sat Nov  6 18:42:55 2004
++++ configure  Sat Nov  6 18:43:15 2004
+@@ -7064,13 +7064,13 @@
+ 
+ 
+ # Checks for libraries.
+-echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
+-echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6
++echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
++echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6
+ if test "${ac_cv_lib_curses_initscr+set}" = set; then
+   echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lcurses  $LIBS"
++LIBS="-lncurses  $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ /* confdefs.h.  */
+@@ -8467,7 +8467,7 @@
+ echo "$as_me: error: Curses library not found! Install Curses library or run ./configure with --disable-curses parameter." >&2;}
+    { (exit 1); exit 1; }; }
+     fi
+-    CURSES_LIBS="-lcurses"
++    CURSES_LIBS="-lncurses"
+ 
+ fi
+ 



Home | Main Index | Thread Index | Old Index