Package: bum
Version: 2.5.0-1.1
Severity: minor
Tags: patch
Hi!
Please note that by specifying both --build and --host to configure,
the configure script (incorrectly) assumes that you are cross
compiling, i.e. uses a compiler name of the form
$(ARCH)-linux-gnu-gcc, rather than just gcc. For more information,
see:
http://lists.debian.org/debian-devel/2007/11/msg00118.html
I have attached a patch, which uses the guidlines at:
http://wiki.debian.org/EmdebianGuide#Addingcross-builddetection
HTH, and thanks!
Kumar
diff -Nru --exclude changelog bum-2.5.0/debian/rules bum-2.5.0/debian/rules
--- bum-2.5.0/debian/rules 2009-08-19 22:46:05.000000000 -0500
+++ bum-2.5.0/debian/rules 2009-08-19 22:46:06.000000000 -0500
@@ -12,13 +12,18 @@
CFLAGS += -O2
endif
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+else
+CROSS= --build $(DEB_BUILD_GNU_TYPE)
+endif
+
configure: configure-stamp
configure-stamp:
dh_testdir
CFLAGS="$(CFLAGS)" \
./configure \
- --host=$(DEB_HOST_GNU_TYPE) \
- --build=$(DEB_BUILD_GNU_TYPE) \
+ $(CROSS) \
--prefix=/usr \
--mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info