Package: dsyslog
Version: 0.6.0
Followup-For: Bug #727361
User: [email protected]
Usertags: origin-ubuntu utopic ubuntu-patch
Dear Maintainer,
In Ubuntu, the attached patch was applied to achieve the following:
* Use dh_autotools-dev instead of manually linking config.{sub,guess} to fix
FTBFS on arm64.
Thanks for considering the patch.
Logan Rosen
-- System Information:
Debian Release: jessie/sid
APT prefers utopic-updates
APT policy: (500, 'utopic-updates'), (500, 'utopic-security'), (500,
'utopic'), (100, 'utopic-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.13.0-24-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru dsyslog-0.6.0build2/debian/rules dsyslog-0.6.0ubuntu1/debian/rules
--- dsyslog-0.6.0build2/debian/rules 2009-07-16 13:11:14.000000000 -0400
+++ dsyslog-0.6.0ubuntu1/debian/rules 2014-05-21 00:09:03.000000000 -0400
@@ -16,9 +16,8 @@
configure: configure-stamp
configure-stamp:
dh_testdir
+ dh_autotools-dev_updateconfig
# Add here commands to configure the package.
- ln -sf /usr/share/misc/config.sub config.sub
- ln -sf /usr/share/misc/config.guess config.guess
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/ --mandir=\$${prefix}/usr/share/man --infodir=\$${prefix}/usr/share/info --sbindir=\$${prefix}/usr/sbin --sysconfdir=\$${prefix}/etc --libdir=\$${prefix}/usr/lib --datadir=\$${prefix}/usr/share --disable-rpath CFLAGS="$(CFLAGS)"
touch $@
@@ -33,8 +32,8 @@
rm -f build-stamp configure-stamp
[ ! -f Makefile ] || $(MAKE) distclean
- rm -f config.sub config.guess
+ dh_autotools-dev_restoreconfig
dh_clean
install: