apt: Fix some minor build issues, update comment
[termux-packages] / packages / apt / configure.patch
CommitLineData
d4f51079
FF
1diff -u -r ../apt-1.2.12/configure ./configure
2--- ../apt-1.2.12/configure 2016-05-11 08:58:04.000000000 +0000
3+++ ./configure 2017-01-20 14:42:21.801501806 +0000
4@@ -569,7 +569,7 @@
5 ac_clean_files=
6 ac_config_libobj_dir=.
7 LIBOBJS=
8-cross_compiling=no
9+cross_compiling=yes
10 subdirs=
11 MFLAGS=
12 MAKEFLAGS=
13@@ -5056,7 +5056,7 @@
59f0d218
FF
14
15 { $as_echo "$as_me:${as_lineno-$LINENO}: checking debian architecture" >&5
16 $as_echo_n "checking debian architecture... " >&6; }
17-archset="`dpkg-architecture -qDEB_HOST_ARCH`"
18+archset=TERMUX_ARCH
19 if test "x$archset" = "x"; then
20 as_fn_error $? "failed: use --host= or output from dpkg-architecture" "$LINENO" 5
21 fi