file: Tell configure that mmap works

This avoids segfault mentioned in http://bugs.gw.com/view.php?id=494
and should fix #53.
This commit is contained in:
Fredrik Fornwall 2015-11-14 19:12:27 -05:00
parent 54c7d2b46a
commit e0a348d6d4
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
TERMUX_PKG_HOMEPAGE=http://darwinsys.com/file/
TERMUX_PKG_DESCRIPTION="Command-line tool that tells you in words what kind of data a file contains"
TERMUX_PKG_VERSION=5.25
# TERMUX_PKG_SRCURL=ftp://ftp.astron.com/pub/file/file-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_SRCURL=http://fossies.org/linux/misc/file-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_func_mmap_fixed_mapped=yes"
TERMUX_PKG_EXTRA_MAKE_ARGS="FILE_COMPILE=$TERMUX_PKG_HOSTBUILD_DIR/src/file"
TERMUX_PKG_HOSTBUILD="yes"