python: Add ac_cv_func_gethostbyname_r=no as configure arg
[termux-packages] / packages / mc / build.sh
CommitLineData
59f0d218
FF
1TERMUX_PKG_VERSION=4.8.14
2TERMUX_PKG_HOMEPAGE=https://www.midnight-commander.org/
4624c75b 3TERMUX_PKG_DESCRIPTION="Midnight Commander - a powerful file manager"
59f0d218
FF
4TERMUX_PKG_SRCURL="http://ftp.midnight-commander.org/mc-${TERMUX_PKG_VERSION}.tar.xz"
5TERMUX_PKG_DEPENDS="ncurses, glib"
6TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-ncurses-libs=$TERMUX_PREFIX/lib --with-screen=ncurses"
7# mc uses the deprecated S_IREAD and S_IWRITE definitions, which android does not define:
8# https://code.google.com/p/android/issues/detail?id=19710
9CPPFLAGS="$CPPFLAGS -DS_IREAD=S_IRUSR -DS_IWRITE=S_IWUSR"