Package: src:libapreq2
Version: 2.13-3
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/control
+++ b/debian/control
@@ -1,7 +1,7 @@
Source: libapreq2
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 7), apache2-dev (>= 2.0.50-10), dh-apache2, libapr1-dev, libextutils-xsbuilder-perl, perl (>= 5.8.0-7), libapache2-mod-perl2 (>= 2.0.2-2.1), libapache2-mod-perl2-dev, dpkg-dev (>= 1.16.1~), autotools-dev
+Build-Depends: debhelper (>= 7), apache2-dev (>= 2.0.50-10), dh-apache2, libapr1-dev, libextutils-xsbuilder-perl, perl (>= 5.8.0-7), libapache2-mod-perl2 (>= 2.0.2-2.1), libapache2-mod-perl2-dev, dpkg-dev (>= 1.16.1~), dh-autoreconf
Maintainer: Steinar H. Gunderson <se...@debian.org>
Standards-Version: 3.9.4
--- a/debian/rules
+++ b/debian/rules
@@ -32,7 +32,7 @@
build-arch:
dh_testdir
- dh_autotools-dev_updateconfig
+ -dh_autoreconf
$(PERL) Makefile.PL --with-apache2-apxs=/usr/bin/apxs2 --prefix=/usr --libdir=/usr/lib/$(DEB_HOST_MULTIARCH)
sed -i -r 's/(hardcode_into_libs)=.*$$/\1=no/' $(CURDIR)/libtool # See http://wiki.debian.org/RpathIssue.
$(MAKE) OPTIMIZE="$(CFLAGS)" LDDLFLAGS="-shared $(LDFLAGS)" LD_RUN_PATH=""
@@ -43,7 +43,7 @@
[ ! -f Makefile ] || $(MAKE) distclean
$(RM) -r $(TMP)
$(RM) config.nice glue/perl/Makefile.old glue/perl/t/REPORT glue/perl/t/SMOKE
- dh_autotools-dev_restoreconfig
+ dh_autoreconf_clean
dh_clean
binary: binary-arch binary-indep