Package: src:liblouis
Version: 2.5.3-2
Severity: normal
Tags: patch
Dear Maintainer,
For the ppc64el architecture in Ubuntu, since this package uses libtool,
a full autoreconf is necessary. This is because we need new libtool
macros for ppc64el.
In Ubuntu, the attached patch was applied to achieve the following:
* Build using dh-autoreconf.
Thanks for considering the patch.
Erwan Prioul.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)
Kernel: Linux 3.13-1-powerpc64le (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
--- a/debian/rules
+++ b/debian/rules
@@ -23,17 +23,17 @@
PYVERS := $(shell pyversions -r)
PY3VERS := $(shell py3versions -r)
-config.status: configure
+configure-stamp:
dh_testdir
- cp -f /usr/share/misc/config.sub build-aux/config.sub
- cp -f /usr/share/misc/config.guess build-aux/config.guess
+ dh_autoreconf
./configure $(CROSS) --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" --enable-ucs4
+ touch $@
build: build-indep build-arch
build-indep: build-stamp
build-arch: build-stamp
-build-stamp: config.status
+build-stamp: configure-stamp
dh_testdir
$(MAKE)
cd python; \
@@ -45,7 +45,7 @@
clean:
dh_testdir
dh_testroot
- rm -f build-stamp check-stamp
+ rm -f build-stamp check-stamp configure-stamp
[ ! -f Makefile ] || $(MAKE) distclean
-cd python; \
for py in $(PYVERS) $(PY3VERS); do \
@@ -53,9 +53,8 @@
done; \
rm -f louis/__init__.pyc
rm -f doc/liblouis.info doc/stamp-vti doc/version.texi
- rm -f build-aux/config.sub
- rm -f build-aux/config.guess
rm -fr python/build
+ dh_autoreconf_clean
dh_clean
install: build