"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
James Cook <falsifian@falsifian.org>
Subject:
got-portable deps for netbsd
To:
gameoftrees@openbsd.org
Date:
Wed, 19 Mar 2025 15:40:28 +0000

Download raw body.

Thread
I had a bit of trouble building got-portable on NetBSD.

The below patch partly addresses it by updating the documentation.

The other thing I had to do was replace ncursesw with ncurses and
gnupanelw with gnupanel in configure.ac. ncursesw was removed from
pkgsrc with a note that it's merged into ncurses 6.5. I don't know
what the best fix for that is in the got-portable source.
(pkgsrc/devel/got seems to hack around the issue by patching
configure.)


Explanation of the patch:
- autogen.sh needs autoreconf.
- Without pkg-config or pkgconf, ./autogen.sh fails saying AC_DEFINE
  and AC_MSG_NOTICE are undefined.
- I fixed ncursesw typo even though I didn't use it.

-- 
James


diff /home/falsifian/co/got-portable
path + /home/falsifian/co/got-portable
commit - a86933943ecf60552fe7c1bbb4b44fbf56a7118a
blob - 364ce43262d8d96b56947eb489c39d5d7d8bf7b7
file + README.portable
--- README.portable
+++ README.portable
@@ -40,8 +40,10 @@ FreeBSD:
 NetBSD:
 
 * `automake`
+* `autoconf`
 * `libuuid`
-* `ncuresesw`
+* `ncursesw`
+* `pkgconf` or `pkg-config`
 * `libevent` (for gotwebd)
 * `libretls`