Package: avifile Version: 1:0.7.47.20070718-1.2 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 avifile-0.7.47.20070718/debian/rules avifile-0.7.47.20070718/debian/rules --- avifile-0.7.47.20070718/debian/rules 2007-09-29 10:23:10.000000000 -0500 +++ avifile-0.7.47.20070718/debian/rules 2009-08-19 22:38:30.000000000 -0500 @@ -68,6 +68,12 @@ INSTALL_PROGRAM += -s 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 + build: build-stamp build-stamp: configure-stamp @dh_testdir @@ -106,7 +112,7 @@ # if you wish to build packege without AC3 support: --disable-ffmpeg-ac3 ./configure --prefix=/usr --disable-lame --enable-lame-bin \ --enable-quiet --enable-release --disable-dependency-tracking \ - --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) + $(CROSS) touch configure-stamp