Browse Source

expect: Use coreutils stty instead of busybox stty

Since our busybox no longer symlinks stty in `$PREFIX/bin/applets/stty` `expect` should use the stty at `$PREFIX/bin/stty`, which is provided by coreutils which is now an essential package. (busybox is no longer essential and not a dependency of expect anyway)
android-5
Oliver Schmidhauser 5 years ago
committed by Leonid Plyushch
parent
commit
0eb3eb5e9e
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 2
      packages/expect/build.sh
  2. 2
      packages/expect/configure.in.patch

2
packages/expect/build.sh

@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://core.tcl.tk/expect/index
TERMUX_PKG_DESCRIPTION="Tool for automating interactive terminal applications"
TERMUX_PKG_LICENSE="Public Domain"
TERMUX_PKG_VERSION=5.45.4
TERMUX_PKG_REVISION=2
TERMUX_PKG_REVISION=3
TERMUX_PKG_SHA256=49a7da83b0bdd9f46d04a04deec19c7767bb9a323e40c4781f89caf760b92c34
TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/expect/Expect/${TERMUX_PKG_VERSION}/expect${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="libutil, tcl"

2
packages/expect/configure.in.patch

@ -10,7 +10,7 @@ diff -u -r ../expect5.45/configure.in ./configure.in
-else
- STTY_BIN=/bin/stty
-fi
+STTY_BIN=@TERMUX_PREFIX@/bin/applets/stty
+STTY_BIN=@TERMUX_PREFIX@/bin/stty
AC_MSG_RESULT($STTY_BIN)
AC_MSG_CHECKING([if stty reads stdout])

Loading…
Cancel
Save