summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-11-06 17:50:09 +0000
committerkristerw <kristerw@pkgsrc.org>2004-11-06 17:50:09 +0000
commitfc9c473babbda3c6137f690d84a5818fe724d4d2 (patch)
tree0c6be8c9f10b147724cd0b20da68f54275157c75 /chat
parent16239b238138dd7fee63f0c10ed790d616353f28 (diff)
downloadpkgsrc-fc9c473babbda3c6137f690d84a5818fe724d4d2.tar.gz
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 (limited to 'chat')
-rw-r--r--chat/weechat/Makefile4
-rw-r--r--chat/weechat/distinfo3
-rw-r--r--chat/weechat/patches/patch-ac28
3 files changed, 33 insertions, 2 deletions
diff --git a/chat/weechat/Makefile b/chat/weechat/Makefile
index 7b518349888..00b9dcb9431 100644
--- a/chat/weechat/Makefile
+++ b/chat/weechat/Makefile
@@ -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_BUILDLINK3= yes
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 --git a/chat/weechat/distinfo b/chat/weechat/distinfo
index 540180d4729..ff011e4e726 100644
--- a/chat/weechat/distinfo
+++ b/chat/weechat/distinfo
@@ -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 --git a/chat/weechat/patches/patch-ac b/chat/weechat/patches/patch-ac
new file mode 100644
index 00000000000..483b173eb17
--- /dev/null
+++ b/chat/weechat/patches/patch-ac
@@ -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
+