Package: boinc Severity: wishlist Tags: patch As you can see in changelog, upstream recently moved from $host to $target to determine the platform it should use for core client requests. You could take advantage of that to simplify the i486/i686 override in debian/rules, see attached patch.
-- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-1-amd64-k8 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
--- boinc-5.4.10/debian/rules.old 2006-08-20 12:27:43.000000000 +0200 +++ boinc-5.4.10/debian/rules 2006-08-20 12:29:44.000000000 +0200 @@ -16,22 +16,16 @@ # Most BOINC projects only provide their applications for i686-pc-linux-gnu. # If the core client reports that it was built for i486-pc-linux-gnu it won't -# download any application or work units, so we use i686-linux-gnu as argument -# for configure's --build and --host switches on i386 hosts. +# download any application or work units, so we use --target i686-linux-gnu +# to override it on i386 hosts. ifeq ($(DEB_HOST_GNU_TYPE), i486-linux-gnu) - DEB_HOST_GNU_TYPE = i686-linux-gnu -endif -ifeq ($(DEB_BUILD_GNU_TYPE), i486-linux-gnu) - DEB_BUILD_GNU_TYPE = i686-linux-gnu + TYPE_FLAGS += --target i686-linux-gnu endif # This is the same as above, but only for compatibility with sarge's version # of dpkg-architecture. ifeq ($(DEB_HOST_GNU_TYPE), i386-linux) - DEB_HOST_GNU_TYPE = i686-linux-gnu -endif -ifeq ($(DEB_BUILD_GNU_TYPE), i386-linux) - DEB_BUILD_GNU_TYPE = i686-linux-gnu + TYPE_FLAGS += --target i686-linux-gnu endif CFLAGS += -g -Wall