zsh: Build with ac_cv_func_getpwuid=yes

The build exports ac_cv_func_getpwuid=no to disable getpwuid as it
doesn't make much sense on Android. But we need it on zsh to get
the username part of the prompt working. Fixes #424.
This commit is contained in:
Fredrik Fornwall 2018-01-09 14:51:09 +01:00
parent 6c2bf01c2b
commit 7bfd5ccbce
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://www.zsh.org
TERMUX_PKG_DESCRIPTION="Shell with lots of features"
TERMUX_PKG_VERSION=5.4.2
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SHA256=62f5d034d5f4bbaa7a6b08f49aeb16a9c7dc327fd9b3d5a8017d08c66b1beb92
TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/zsh-${TERMUX_PKG_VERSION}.tar.xz
# Remove hard link to bin/zsh as Android does not support hard links:
@ -9,6 +9,7 @@ TERMUX_PKG_RM_AFTER_INSTALL="bin/zsh-${TERMUX_PKG_VERSION}"
TERMUX_PKG_DEPENDS="libandroid-support, ncurses, termux-tools, command-not-found"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
ac_cv_header_utmp_h=no
ac_cv_func_getpwuid=yes
--disable-gdbm
--disable-pcre
--enable-etcdir=$TERMUX_PREFIX/etc