diff options
author | kristerw <kristerw@pkgsrc.org> | 2004-11-06 17:50:09 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2004-11-06 17:50:09 +0000 |
commit | fc9c473babbda3c6137f690d84a5818fe724d4d2 (patch) | |
tree | 0c6be8c9f10b147724cd0b20da68f54275157c75 /chat/weechat/patches | |
parent | 16239b238138dd7fee63f0c10ed790d616353f28 (diff) | |
download | pkgsrc-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/weechat/patches')
-rw-r--r-- | chat/weechat/patches/patch-ac | 28 |
1 files changed, 28 insertions, 0 deletions
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 + |