chiark / gitweb /
postgresql: Patch away /bin/sh
[termux-packages] / packages / apt / configure.patch
1 diff -u -r ../apt-1.2.12/configure ./configure
2 --- ../apt-1.2.12/configure     2016-05-11 10:58:04.000000000 +0200
3 +++ ./configure 2017-03-03 13:31:05.373948035 +0100
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 @@ -4611,7 +4611,7 @@
14    return 0;
15  }
16  _ACEOF
17 -if ac_fn_c_try_link "$LINENO"; then :
18 +if false; then :
19    $as_echo "#define HAVE_BDB 1" >>confdefs.h
20  
21         BDBLIB="-ldb"
22 @@ -5056,7 +5056,7 @@
23  
24  { $as_echo "$as_me:${as_lineno-$LINENO}: checking debian architecture" >&5
25  $as_echo_n "checking debian architecture... " >&6; }
26 -archset="`dpkg-architecture -qDEB_HOST_ARCH`"
27 +archset=TERMUX_ARCH
28  if test "x$archset" = "x"; then
29     as_fn_error $? "failed: use --host= or output from dpkg-architecture" "$LINENO" 5
30  fi