termux-packages/packages/dpkg/configure.patch

22 lines
852 B
Diff

diff -u -r ../dpkg-1.18.15/configure ./configure
--- ../dpkg-1.18.15/configure 2016-11-15 21:28:05.000000000 -0500
+++ ./configure 2016-11-26 10:44:53.214082696 -0500
@@ -25749,7 +25749,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dpkg cpu type" >&5
$as_echo_n "checking dpkg cpu type... " >&6; }
- cpu_type=$(PERL=$PERL $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 :
@@ -25800,7 +25800,7 @@
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dpkg architecture name" >&5
$as_echo_n "checking dpkg architecture name... " >&6; }
- dpkg_arch=$(PERL=$PERL $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 :