X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/385c8aef84c83d5ccdb9728bb9af082259ef6e68..318a000b927dbf5b07d76c0bc899ba86836c1e14:/packages/apt/build.sh diff --git a/packages/apt/build.sh b/packages/apt/build.sh index 4c8bd0f7..5d99b056 100644 --- a/packages/apt/build.sh +++ b/packages/apt/build.sh @@ -4,7 +4,7 @@ TERMUX_PKG_DEPENDS="liblzma, dpkg, gpgv" # Wait with updating to later version until the NDK supports std::to_string() and other # functions (hopefully in r13): TERMUX_PKG_VERSION=1.2.12 -TERMUX_PKG_BUILD_REVISION=1 +TERMUX_PKG_REVISION=1 # TERMUX_PKG_SRCURL=http://ftp.debian.org/debian/pool/main/a/apt/apt_${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SRCURL=https://launchpad.net/ubuntu/+archive/primary/+files/apt_${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--host=${TERMUX_ARCH}-linux --disable-rpath acl_cv_rpath=$TERMUX_PREFIX/lib gt_cv_func_CFPreferencesCopyAppValue=no gt_cv_func_CFLocaleCopyCurrent=no ac_cv_c_bigendian=no --no-create" @@ -19,7 +19,7 @@ termux_step_pre_configure () { # Define them here to avoid having to patch files: CXXFLAGS+=" -DSTDIN_FILENO=0 -DSTDOUT_FILENO=1 -DSTDERR_FILENO=2 -DAI_IDN=0" - cp $TERMUX_COMMON_CACHEDIR/config.{guess,sub} $TERMUX_PKG_SRCDIR/buildlib + cp $TERMUX_SCRIPTDIR/scripts/config.{guess,sub} $TERMUX_PKG_SRCDIR/buildlib perl -p -i -e "s/TERMUX_ARCH/$TERMUX_ARCH/" $TERMUX_PKG_SRCDIR/configure rm $TERMUX_PKG_SRCDIR/apt-pkg/{cdrom.cc,indexcopy.cc}