ncurses: allow root to use environment variables

Otherwise, the TERMINFO variable can't be used on Haiku, since ncurses
thinks the user is root.
This commit is contained in:
PulkoMandy
2025-06-23 20:49:41 +02:00
parent fbb7593ff7
commit 7fb44fcbbf

View File

@@ -17,7 +17,7 @@ HOMEPAGE="https://invisible-island.net/ncurses/"
COPYRIGHT="2018-2023,2024 Thomas E. Dickey
1998-2017,2018 Free Software Foundation, Inc."
LICENSE="MIT"
REVISION="2"
REVISION="3"
srcVersion=${portVersion//./_}
SOURCE_URI="https://github.com/ThomasDickey/ncurses-snapshots/archive/refs/tags/v$srcVersion.tar.gz"
CHECKSUM_SHA256="1600526b279b0acf42432fe31f6dfa3824a4da4262168bf8b3637660ff8c07c7"
@@ -117,7 +117,7 @@ BUILD()
--omit-dirs "dataRootDir docDir" ./configure \
--disable-relink \
--disable-root-access \
--disable-root-environ \
--enable-root-environ \
--disable-setuid-environ \
--disable-static \
--enable-hard-tabs \