Package: checkinstall
Version: 1.6.1-8
Severity: normal
Tags: patch

When building packages on Debian, checkinstall ignores the --arch 
argument and resets the architecture to the architecture of the system on which 
it is running.
This can be fixed by moving the "fi" from line 1145 to line 1153, as
below. Greetings, Mike

# Figure out what kind of machine are we running on

if ! [ "$ARCHITECTURE" ]; then
   ARCHITECTURE=`uname -m`
   echo $ARCHITECTURE | grep -e "i[3456]86" &> /dev/null
   [ $? -eq 0 ] && ARCHITECTURE=i386  # Arch will be "i386" for any of
#remove fi here:
#fi                                   # i386, i486, i586 or i686.
                                      # You can change this with 
"--arch"

   # Fix the PowerPC & Amd64 architecture description if we're on Debian

   if [ "$CK_DEBIAN" = "1" ] ; then
      ARCHITECTURE=`dpkg-architecture -qDEB_HOST_ARCH`
   fi
#insert fi here:
fi


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.18.2-d03 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages checkinstall depends on:
ii  dpkg-dev                      1.14.21    Debian package development tools
ii  file                          4.25-1     Determines file type using "magic"
ii  findutils                     4.4.0-2    utilities for finding files--find,
ii  libc6                         2.7-13     GNU C Library: Shared libraries

Versions of packages checkinstall recommends:
ii  make                          3.81-5     The GNU version of the "make" util

Versions of packages checkinstall suggests:
ii  gettext                       0.17-4     GNU Internationalization utilities

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to