Subject: anacron: Package needs patching to cross-build
Package: anacron
Version: 2.3-14
Severity: normal

We are working on making core debian packages cross-buildable. 

Anacron needs a minor patch in order to cross-build correctly:

diff -urN 
/home/wookey/debian/unstable/crossfixes/origs/anacron-2.3/debian/changelog 
/home/wookey/debian/unstable/crossfixes/patched/anacron-2.3/debian/changelog
--- /home/wookey/debian/unstable/crossfixes/origs/anacron-2.3/debian/changelog  
2011-06-14 16:26:09.000000000 +0100
+++ 
/home/wookey/debian/unstable/crossfixes/patched/anacron-2.3/debian/changelog    
    2011-06-14 16:27:03.843835156 +0100
@@ -1,3 +1,10 @@
+anacron (2.3-14.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Cross-building fix to rules file
+
+ -- Wookey <woo...@debian.org>  Tue, 14 Jun 2011 16:26:41 +0100
+
 anacron (2.3-14) unstable; urgency=low
 
   * New maintainers (closes: #546169, #548777)
diff -urN 
/home/wookey/debian/unstable/crossfixes/origs/anacron-2.3/debian/rules 
/home/wookey/debian/unstable/crossfixes/patched/anacron-2.3/debian/rules
--- /home/wookey/debian/unstable/crossfixes/origs/anacron-2.3/debian/rules      
2011-06-14 16:26:09.000000000 +0100
+++ /home/wookey/debian/unstable/crossfixes/patched/anacron-2.3/debian/rules    
2011-06-14 16:24:28.627835155 +0100
@@ -5,12 +5,17 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)))
+        MAKEFLAGS = CC=$(DEB_HOST_GNU_TYPE)-gcc
+endif
 
 build: build-stamp
 build-stamp:
        dh_testdir
        
-       $(MAKE)
+       $(MAKE) $(MAKEFLAGS)
 
        touch build-stamp
 


-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-trunk-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

Wookey
-- 
Principal hats:  Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to