diff options
author | nia <nia@pkgsrc.org> | 2020-04-01 14:58:49 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-04-01 14:58:49 +0000 |
commit | a6106c696d0491cf0a7e935c712570b28ea8ea1f (patch) | |
tree | 66b462b25510261b524458eceb32a859859b0a87 /chat | |
parent | 65541a97568203f75875d7e10ab9fa3bd9a1745b (diff) | |
download | pkgsrc-a6106c696d0491cf0a7e935c712570b28ea8ea1f.tar.gz |
weechat: Restore handling for NetBSD libcurses
If it can't find ncurses.so it gives up. Allow FAKE_NCURSES to work
properly when ncurses isn't installed.
Diffstat (limited to 'chat')
-rw-r--r-- | chat/weechat/distinfo | 3 | ||||
-rw-r--r-- | chat/weechat/patches/patch-cmake_FindNcurses.cmake | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/chat/weechat/distinfo b/chat/weechat/distinfo index e63e3bfdd1b..b52470de1cc 100644 --- a/chat/weechat/distinfo +++ b/chat/weechat/distinfo @@ -1,9 +1,10 @@ -$NetBSD: distinfo,v 1.61 2020/03/30 11:07:18 nia Exp $ +$NetBSD: distinfo,v 1.62 2020/04/01 14:58:49 nia Exp $ SHA1 (weechat-2.8.tar.xz) = fec7018168f2fa973b1a4d8224fdac8b59617ada RMD160 (weechat-2.8.tar.xz) = 6c1453c5b97ba061bc2539033e62eb7f07ee52c8 SHA512 (weechat-2.8.tar.xz) = 3bebb42118fca6b601f1de8f4d52378619a10e5c490f5b46f86d27a9680f00a56d48a1ade729e78d965cae589e6c80647c22414393000c7d3cfcc94a1e41c4df Size (weechat-2.8.tar.xz) = 2248868 bytes +SHA1 (patch-cmake_FindNcurses.cmake) = 73d4bc9551c79ee967abe06eba09cfe1b10129d4 SHA1 (patch-po_CMakeLists.txt) = 014b42ff303a4e4213de95339ab97f029f38a068 SHA1 (patch-src_core_weechat.c) = aeb3cb052976e6b4603d3515ffc40bed98434a9f SHA1 (patch-src_plugins_perl_weechat-perl.c) = 49e61419ea82157fa54a7847a653625944d3b341 diff --git a/chat/weechat/patches/patch-cmake_FindNcurses.cmake b/chat/weechat/patches/patch-cmake_FindNcurses.cmake new file mode 100644 index 00000000000..a2097c30cf0 --- /dev/null +++ b/chat/weechat/patches/patch-cmake_FindNcurses.cmake @@ -0,0 +1,15 @@ +$NetBSD: patch-cmake_FindNcurses.cmake,v 1.6 2020/04/01 14:58:50 nia Exp $ + +Find NetBSD libcurses. + +--- cmake/FindNcurses.cmake.orig 2020-03-29 07:39:36.000000000 +0000 ++++ cmake/FindNcurses.cmake +@@ -41,7 +41,7 @@ if(NCURSESW_LIBRARY) + set(NCURSES_LIBRARY ${NCURSESW_LIBRARY}) + else() + find_library(NCURSES_LIBRARY +- NAMES ncurses ++ NAMES curses ncurses + PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib + ) + find_package(PkgConfig QUIET) |