[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#753628: hunspell: please use autoreconf to build on new architectures



Source: hunspell
Version: 1.3.3-1
Severity: normal
Tags: patch
User: debian-devel@lists.debian.org
Usertags: autoreconf
User: debian-powerpc@lists.debian.org
Usertags: ppc64el

Dear Maintainer,

The package hunspell fails to build from source on ppc64el, because 
some configuration files besides config.{guess,sub} need update.

That can be done by running dh-autoreconf.

The patch attached contains the modifications to include dh-autoreconf to the build. 

Thanks and regards.
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 -Nru hunspell-1.3.3/debian/control hunspell-1.3.3/debian/control
--- hunspell-1.3.3/debian/control	2014-06-04 12:16:22.000000000 +0000
+++ hunspell-1.3.3/debian/control	2014-07-03 14:38:34.000000000 +0000
@@ -4,7 +4,7 @@
 Uploaders: Rene Engelhard <rene@debian.org>, Chris Halls <halls@debian.org>,
  Tim Retout <diocles@debian.org>
 Build-Depends: debhelper (>= 8.1.3), libreadline-dev, libncurses5-dev,
- libncursesw5-dev, autotools-dev
+ libncursesw5-dev, dh-autoreconf
 Standards-Version: 3.6.2
 Section: text
 Homepage: http://hunspell.sourceforge.net/
diff -Nru hunspell-1.3.3/debian/rules hunspell-1.3.3/debian/rules
--- hunspell-1.3.3/debian/rules	2014-03-10 10:56:16.000000000 +0000
+++ hunspell-1.3.3/debian/rules	2014-07-03 14:38:16.000000000 +0000
@@ -37,10 +37,7 @@
 
 config.status: configure
 	dh_testdir
-	cp config.sub config.sub.old
-	cp config.guess config.guess.old
-	cp /usr/share/misc/config.sub .
-	cp /usr/share/misc/config.guess .
+	dh_autoreconf
 	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
 		--with-ui --with-readline --disable-rpath --libdir=$(libdir)
 
@@ -66,9 +63,7 @@
 	rm -f debian/ispellaff2myspell.1
 	rm -f config.log
 
-	-mv config.sub.old config.sub
-	-mv config.guess.old config.guess
-
+	dh_autoreconf_clean
 	dh_clean
 
 install: build

Reply to: