--- dpkg-1.15.5.6.org/configure 2010-02-05 07:18:20.000000000 +0100 +++ dpkg-1.15.5.6/configure 2010-02-05 08:00:03.000000000 +0100 @@ -3872,7 +3872,7 @@ $as_echo_n "checking dpkg cpu type... " >&6; } cpu_type=$(cd $srcdir/scripts; \ - PERL5LIB=$(pwd) ./dpkg-architecture.pl -t$host -qDEB_HOST_ARCH_CPU 2>/dev/null) + pkgdatadir=$srcdir PERL5LIB=$(pwd) ./dpkg-architecture.pl -t$host -qDEB_HOST_ARCH_CPU 2>/dev/null) if test "x$cpu_type" = "x"; then cpu_type=$host_cpu @@ -3894,7 +3894,7 @@ $as_echo_n "checking dpkg operating system type... " >&6; } os_type=$(cd $srcdir/scripts; \ - PERL5LIB=$(pwd) ./dpkg-architecture.pl -t$host -qDEB_HOST_ARCH_OS 2>/dev/null) + pkgdatadir=$srcdir PERL5LIB=$(pwd) ./dpkg-architecture.pl -t$host -qDEB_HOST_ARCH_OS 2>/dev/null) if test "x$os_type" = "x"; then os_type=$host_os @@ -3916,7 +3916,7 @@ $as_echo_n "checking dpkg architecture name... " >&6; } dpkg_arch=$(cd $srcdir/scripts; \ - PERL5LIB=$(pwd) ./dpkg-architecture.pl -t$host -qDEB_HOST_ARCH 2>/dev/null) + pkgdatadir=$srcdir PERL5LIB=$(pwd) ./dpkg-architecture.pl -t$host -qDEB_HOST_ARCH 2>/dev/null) { $as_echo "$as_me:$LINENO: result: $dpkg_arch" >&5 $as_echo "$dpkg_arch" >&6; }