Browse Source

dnsutils: Link with libreadline, not libedit

android-5
Fredrik Fornwall 8 years ago
parent
commit
0f0c0f2937
  1. 13
      packages/dnsutils/build.sh
  2. 12
      packages/dnsutils/configure.patch

13
packages/dnsutils/build.sh

@ -5,9 +5,16 @@ TERMUX_PKG_SRCURL="ftp://ftp.isc.org/isc/bind9/${TERMUX_PKG_VERSION}/bind-${TERM
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

12
packages/dnsutils/configure.patch

@ -0,0 +1,12 @@
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
Loading…
Cancel
Save