clang: Fix arm build to target armv7 (fixes #282)
[termux-packages] / packages / w3m / build.sh
index 2fae5c4..ccb0047 100644 (file)
@@ -4,4 +4,9 @@ TERMUX_PKG_VERSION=0.5.3
 TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/w3m/w3m/w3m-$TERMUX_PKG_VERSION/w3m-${TERMUX_PKG_VERSION}.tar.gz
 TERMUX_PKG_BUILD_IN_SRC=yes
 TERMUX_PKG_DEPENDS="libgc, ncurses, openssl"
-TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_func_setpgrp_void=yes"
+# ac_cv_func_bcopy=yes to avoid w3m defining it's own bcopy function, which
+# breaks 64-bit builds where NDK headers define bcopy as a mactro:
+TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_func_setpgrp_void=yes ac_cv_func_bcopy=yes"
+
+# For Makefile.in.patch:
+export TERMUX_PKG_BUILDER_DIR