termux-packages/packages/dpkg/configure.patch
2021-12-07 16:56:19 +00:00

22 lines
905 B
Diff

diff -u -r ../dpkg-1.21.1/configure ./configure
--- ../dpkg-1.21.1/configure
+++ ./configure
@@ -29537,7 +29537,7 @@ fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dpkg cpu type" >&5
printf %s "checking dpkg cpu type... " >&6; }
- cpu_type=$(PERL=$PERL ${CONFIG_SHELL-/bin/sh} "$srcdir/run-script" scripts/dpkg-architecture.pl -t$host -qDEB_HOST_ARCH_CPU 2>/dev/null)
+ cpu_type=TERMUX_ARCH
if test "x$cpu_type" = "x"
then :
@@ -29586,7 +29586,7 @@ printf "%s\n" "#define ARCHITECTURE_OS \"${os_type}\"" >>confdefs.h
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dpkg architecture name" >&5
printf %s "checking dpkg architecture name... " >&6; }
- dpkg_arch=$(PERL=$PERL ${CONFIG_SHELL-/bin/sh} "$srcdir/run-script" scripts/dpkg-architecture.pl -t$host -qDEB_HOST_ARCH 2>/dev/null)
+ dpkg_arch=TERMUX_ARCH
if test "x$dpkg_arch" = "x"
then :