From c3ba77583a44699e64bf5a2cb8cc5ca08999012c Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sat, 6 Jun 2009 15:45:57 +0200 Subject: [PATCH] rules: Use config.{guess,sub} provided by autotools-dev. This fixes a FTBFS on avr32. Thanks to Bradley Smith for reporting this. Closes: #529460 --- debian/changelog | 4 +++- debian/rules | 13 +++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index eb82813..0f73e6f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,12 +4,14 @@ liboping (1.1.2-1) unstable; urgency=low * Added liboping0.symbols. * debian/rules: - Do not ignore 'make clean' errors. + - Use config.{guess,sub} provided by autotools-dev to fix a FTBFS on + avr32, thanks to Bradley Smith for reporting this (Closes: #529460). * debian/control: - Use ${binary:Version} instead of ${Source-Version}. - Updated Standards-Version to 3.8.1. - Added Homepage and Vcs-{Git,Browser} fields. - -- Sebastian Harl Sat, 06 Jun 2009 15:39:25 +0200 + -- Sebastian Harl Sat, 06 Jun 2009 15:43:49 +0200 liboping (0.3.5-1) unstable; urgency=low diff --git a/debian/rules b/debian/rules index b29b427..43ed9fc 100755 --- a/debian/rules +++ b/debian/rules @@ -21,6 +21,12 @@ endif config.status: configure dh_testdir + + for file in config.guess config.sub; do \ + mv $$file $$file.upstream; \ + ln -s /usr/share/misc/$$file .; \ + done + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \ --mandir=\$${prefix}/share/man @@ -41,6 +47,13 @@ clean: [ ! -f Makefile ] || $(MAKE) distclean + for file in config.guess config.sub; do \ + if [ -e $$file.upstream ]; then \ + rm -f $$file; \ + mv $$file.upstream $$file; \ + fi \ + done + dh_clean install: build -- 2.30.2