Package: lttoolbox
Version: 3.1.0-1.1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch trusty
Hi,
The ppc64el port requires a patch to libtool.m4. I don't think that's
in Debian yet, but when it is it will require autoreconfing a bunch of
packages to pick it up. libcdio could handle this quite easily by using
dh-autoreconf rather than just autotools-dev; when automake and libtool
are in use (as they are here), dh-autoreconf is a superset of
autotools-dev, and it seems to still build just fine if I do the
following.
* Use dh-autoreconf to update libtool macros for new ports.
diff -u lttoolbox-3.1.0/debian/rules lttoolbox-3.1.0/debian/rules
--- lttoolbox-3.1.0/debian/rules
+++ lttoolbox-3.1.0/debian/rules
@@ -35,6 +35,7 @@
config.status: configure
dh_testdir
+ AUTOMAKE='automake --gnu' dh_autoreconf
# Add here commands to configure the package.
CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE)
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man
--infodir=\$${prefix}/share/info --datadir=\$${prefix}/share
@@ -55,13 +56,7 @@
# Add here commands to clean up after the build process.
[ ! -f Makefile ] || $(MAKE) distclean
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
- cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
- cp -f /usr/share/misc/config.guess config.guess
-endif
-
+ dh_autoreconf_clean
dh_clean
diff -u lttoolbox-3.1.0/debian/control lttoolbox-3.1.0/debian/control
--- lttoolbox-3.1.0/debian/control
+++ lttoolbox-3.1.0/debian/control
@@ -1,7 +1,7 @@
Source: lttoolbox
Priority: optional
Maintainer: Francis Tyers <[email protected]>
-Build-Depends: debhelper (>= 8), autotools-dev, libxml2-dev, pkg-config (>=
0.20 ), zlib1g-dev (>= 1.2.3 ), libxml2-utils
+Build-Depends: debhelper (>= 8), dh-autoreconf, libxml2-dev, pkg-config (>=
0.20 ), zlib1g-dev (>= 1.2.3 ), libxml2-utils
Standards-Version: 3.9.2
Section: misc
Homepage: http://www.apertium.org
Thanks,
--
Colin Watson [[email protected]]
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]