Package: src:malaga
Version: 7.12-5
Severity: normal
Tags: patch
Dear Maintainer,
While trying to build malaga on ppc64el, it failed, due to libtool and
configuration files not being updated.
Please consider this patch, which uses dh-autoreconf to fulfill that need.
Thanks in advance,
Erwan.
-- 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
diff -Naur a/debian/control b/debian/control
--- a/debian/control 2014-07-24 14:52:44.421726751 +0200
+++ b/debian/control 2014-07-24 15:41:31.865571160 +0200
@@ -2,7 +2,7 @@
Maintainer: Timo Jyrinki <[email protected]>
Section: misc
Priority: optional
-Build-Depends: libgtk2.0-dev, libglib2.0-dev, texinfo, texlive, libreadline-dev, debhelper ( >= 7.0.8 ), autotools-dev, libcairo-dev, quilt (>= 0.46-7~), dpkg (>= 1.15.4) | install-info
+Build-Depends: libgtk2.0-dev, libglib2.0-dev, texinfo, texlive, libreadline-dev, debhelper ( >= 7.0.8 ), autotools-dev, libcairo-dev, quilt (>= 0.46-7~), dpkg (>= 1.15.4) | install-info, dh-autoreconf
Standards-Version: 3.9.2
Package: malaga-bin
diff -Naur a/debian/patches/no-ncurses.diff b/debian/patches/no-ncurses.diff
--- a/debian/patches/no-ncurses.diff 2014-07-24 14:52:44.437726750 +0200
+++ b/debian/patches/no-ncurses.diff 2014-07-24 15:38:00.309582404 +0200
@@ -25,23 +25,3 @@
READLINE_CFLAGS="-DREADLINE"
else
READLINE_LIBS=""
---- a/configure
-+++ b/configure
-@@ -18462,7 +18462,7 @@
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- ac_check_lib_save_LIBS=$LIBS
--LIBS="-lreadline -lcurses $LIBS"
-+LIBS="-lreadline $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h. */
- _ACEOF
-@@ -18663,7 +18663,7 @@
- fi
- if test $use_readline = yes
- then
-- READLINE_LIBS="-lreadline -lcurses"
-+ READLINE_LIBS="-lreadline"
- READLINE_CFLAGS="-DREADLINE"
- else
- READLINE_LIBS=""
diff -Naur a/debian/rules b/debian/rules
--- a/debian/rules 2014-07-24 14:52:44.437726750 +0200
+++ b/debian/rules 2014-07-24 15:42:54.713566757 +0200
@@ -21,7 +21,7 @@
major=`ls src/.libs/lib*.so.* | \
awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
-config.status: configure
+configure-stamp:
dh_testdir
dh_quilt_patch
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
@@ -30,13 +30,14 @@
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
cp -f /usr/share/misc/config.guess config.guess
endif
+ -dh_autoreconf
# Add here commands to configure the package.
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
build: build-arch build-indep
build-arch: build-stamp
build-indep: build-stamp build-doc
-build-stamp: config.status
+build-stamp: configure-stamp
dh_testdir
# Add here commands to compile the package.
@@ -65,6 +66,7 @@
rm -rf build-doc
rm -f debian/substvars
+ dh_autoreconf_clean
dh_clean
install: build