Package: enchant
Version: 1.6.0-10
Severity: normal
Tags: patch
Control: user debian-powe...@lists.debian.org
Control: usertag -1 ppc64el

Dear Maintainer,

In order for enchant to build on ppc64el, the autoreconf is necessary,
so it updates the build configuration files accordingly.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: enchant-1.6.0/debian/control
===================================================================
--- enchant-1.6.0.orig/debian/control   2013-05-17 14:35:37.000000000 +0000
+++ enchant-1.6.0/debian/control        2014-04-23 18:23:32.180002734 +0000
@@ -2,8 +2,8 @@
 Section: devel
 Priority: optional
 Maintainer: Prach Pongpanich <prach...@gmail.com>
-Build-Depends: autotools-dev,
-               chrpath,
+Build-Depends: chrpath,
+               dh-autoreconf,
                debhelper (>= 9),
                hspell (>= 0.7-2),
                libdbus-1-dev,
Index: enchant-1.6.0/debian/rules
===================================================================
--- enchant-1.6.0.orig/debian/rules     2013-05-17 14:35:37.000000000 +0000
+++ enchant-1.6.0/debian/rules  2014-04-23 18:22:50.770009194 +0000
@@ -38,20 +38,7 @@

 config.status: configure
        dh_testdir
-
-       # -- Upgrade config.{guess,sub} before building
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-       [ ! -f config.sub.bkp ] || cp config.sub config.sub.bkp
-       cp -f /usr/share/misc/config.sub config.sub
-else
-       @echo "No /usr/share/misc/config.sub found. Is autotools-dev installed? Using upstream's config.sub."
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-       [ ! -f config.guess.bkp ] || cp config.sub config.guess.bkp
-       cp -f /usr/share/misc/config.guess config.guess
-else
-       @echo "No /usr/share/misc/config.guess found. Is autotools-dev installed? Using upstream's config.guess."
-endif
+       dh_autoreconf

        # Add here commands to configure the package.
        ./configure --host=$(DEB_HOST_GNU_TYPE) \
@@ -77,6 +64,7 @@
        touch build-stamp

 clean:
+       dh_autoreconf_clean
        dh_testdir
        dh_testroot
        rm -f build-stamp

Reply via email to