Package: psmisc
Version: 22.6-1
Severity: wishlist
Tags: patch
User: [EMAIL PROTECTED]
Usertags: crossbuilt

In line with the other cross-building support bugs:
http://lists.debian.org/debian-devel/2007/11/msg00116.html

This patch is necessary to allow psmisc to cross-build in Debian. The
change is relatively trivial, --build should be passed anyway (and
autotools-dev does recommend that it is passed for all builds, including
native) and the cache-file is handled externally when cross building.

Thanks.

*** ../crossbuild.diff
--- psmisc-22.6.debian/debian/rules 
+++ psmisc-22.6.emdebian/debian/rules 
@@ -8,7 +8,7 @@
 DEB_BUILD_GNU_TYPE = $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 DEB_HOST_GNU_TYPE = $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
-CONFARGS = --host=$(DEB_HOST_GNU_TYPE)
+CONFARGS = --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) 
--cache-file=$(DEB_HOST_GNU_TYPE).cache
 endif
 
 build: build-stamp


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

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages psmisc depends on:
ii  libc6                     2.7-6          GNU C Library: Shared libraries
ii  libncurses5               5.6+20080203-1 Shared libraries for terminal hand

psmisc recommends no packages.

-- no debconf information

Attachment: signature.asc
Description: Digital signature

Reply via email to