TERMUX_PKG_SHA256=1e283f0567b484687dfd7b936e26c9af4f64043daf73cbd8f3eb1122c9fb71f5
TERMUX_PKG_FOLDERNAME="bind-$TERMUX_PKG_VERSION"
TERMUX_PKG_DEPENDS="openssl, readline, resolv-conf"
-TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --with-gssapi=no --with-randomdev=/dev/random -with-ecdsa=no --with-gost=no --with-libxml2=no --with-libtool"
-TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-libjson=no"
-TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --with-openssl=$TERMUX_PREFIX"
+TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
+--with-ecdsa=no
+--with-gost=no
+--with-gssapi=no
+--with-libjson=no
+--with-libtool
+--with-libxml2=no
+--with-openssl=$TERMUX_PREFIX
+--with-randomdev=/dev/random
+"
termux_step_pre_configure () {
export BUILD_AR=ar
--- /dev/null
+diff -u -r ../bind-9.11.0-P5/configure ./configure
+--- ../bind-9.11.0-P5/configure 2017-03-30 00:03:33.000000000 +0200
++++ ./configure 2017-05-23 00:32:54.924640433 +0200
+@@ -19082,7 +19082,7 @@
+ no) ;;
+ yes|auto)
+ saved_LIBS="$LIBS"
+- for readline in -ledit -lreadline
++ for readline in -lreadline
+ do
+ LIBS="$readline"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline with $readline" >&5