Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 289094 | Differences between
and this patch

Collapse All | Expand All

(-)dpkg-1.15.5.6.org/m4/dpkg-arch.m4 (-1 / +1 lines)
Lines 5-11 Link Here
5
AC_DEFUN([_DPKG_ARCHITECTURE], [
5
AC_DEFUN([_DPKG_ARCHITECTURE], [
6
AC_REQUIRE([AC_CANONICAL_HOST])dnl
6
AC_REQUIRE([AC_CANONICAL_HOST])dnl
7
$2=$(cd $srcdir/scripts; \
7
$2=$(cd $srcdir/scripts; \
8
    PERL5LIB=$(pwd) ./dpkg-architecture.pl -t$host -q$1 2>/dev/null)
8
    pkgdatadir=.. PERL5LIB=$(pwd) ./dpkg-architecture.pl -t$host -q$1 2>/dev/null)
9
])# _DPKG_ARCHITECURE
9
])# _DPKG_ARCHITECURE
10
10
11
# DPKG_CPU_TYPE
11
# DPKG_CPU_TYPE
(-)dpkg-1.15.5.6.org/scripts/Dpkg/Arch.pm (-2 / +1 lines)
Lines 47-54 Link Here
47
	return $build_arch if defined $build_arch;
47
	return $build_arch if defined $build_arch;
48
48
49
	my $build_arch = `dpkg --print-architecture`;
49
	my $build_arch = `dpkg --print-architecture`;
50
	# FIXME: Handle bootstrapping
50
	if ($? >> 8) { $build_arch = get_raw_host_arch(); }
51
	syserr("dpkg --print-architecture failed") if $? >> 8;
52
51
53
	chomp $build_arch;
52
	chomp $build_arch;
54
	return $build_arch;
53
	return $build_arch;

Return to bug 289094