Bug#753411: libax25: please use dh-autoreconf during build
Source: libax25
Version: 0.0.12-rc2+cvs20120204-2
Severity: normal
Tags: patch
User: debian-power@lists.debian.org
Usertags: ppc64el
User: debian-devel@lists.debian.org
Usertags: autoreconf
Dear Maintainer,
The package libax25 needs to run autoreconf during build on ppc64el,
otherwise it fails to build.
The command autoreconf -f -i can be replaced by debhelper add-on dh-autoreconf,
which has also a cleaner which is more practical.
The aforementioned modification can be found in the patch attached.
Thanks.
Fernando
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)
Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u libax25-0.0.12-rc2+cvs20120204/debian/control libax25-0.0.12-rc2+cvs20120204/debian/control
--- libax25-0.0.12-rc2+cvs20120204/debian/control
+++ libax25-0.0.12-rc2+cvs20120204/debian/control
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Uploaders: Jaime Robles <jaime@debian.org>, Patrick Ouellette <pouelle@debian.org>, Hamish Moffatt <hamish@debian.org>
-Build-Depends: autoconf, debhelper (>=4), libtool
+Build-Depends: dh-autoreconf, debhelper (>=4)
Standards-Version: 3.7.2
Package: libax25
diff -u libax25-0.0.12-rc2+cvs20120204/debian/rules libax25-0.0.12-rc2+cvs20120204/debian/rules
--- libax25-0.0.12-rc2+cvs20120204/debian/rules
+++ libax25-0.0.12-rc2+cvs20120204/debian/rules
@@ -11,7 +11,7 @@
build: build-stamp
build-stamp:
dh_testdir
-# autoreconf --install --force
+ dh_autoreconf
chmod +x configure
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man
# Add here commands to compile the package.
@@ -27,6 +27,7 @@
# Add here commands to clean up after the build process.
[ ! -f Makefile ] || $(MAKE) distclean
+ dh_autoreconf_clean
dh_clean
install: install-stamp
Reply to: