Package: src:libjpeg8
Version: 8d-2
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: ppc64el
User: debian-de...@lists.debian.org
Usertags: autoreconf

Hi Bill,

The attached patch enables dh-autoreconf on the libjpeg8 source package.

It is required for building the shared libraries on ppc64el (and other
architectures, potentially).

The two (handled) caveats are:
1) automake/aclocal 1.11 must be used (de-ANSI-fication is deprecated)
2) autoheader must not be run (as documented by author in configure.ac)

Please consider incorporating it.

Thank you,

--
Mauricio Faria de Oliveira
IBM Linux Technology Center
Index: libjpeg8-8d/debian/control
===================================================================
--- libjpeg8-8d.orig/debian/control
+++ libjpeg8-8d/debian/control
@@ -2,7 +2,7 @@
 Maintainer: Bill Allombert <ballo...@debian.org>
 Section: graphics
 Priority: optional
-Build-Depends: debhelper (>= 5), autotools-dev
+Build-Depends: debhelper (>= 5), autotools-dev, dh-autoreconf, automake1.11
 Standards-Version: 3.9.2
 
 Package: libjpeg8
Index: libjpeg8-8d/debian/rules
===================================================================
--- libjpeg8-8d.orig/debian/rules
+++ libjpeg8-8d/debian/rules
@@ -22,9 +22,14 @@
 CC = $(DEB_HOST_GNU_TYPE)-gcc
 endif
 
+export AUTOMAKE = automake-1.11
+export ACLOCAL = aclocal-1.11
+export AUTOHEADER = true
+
 build: build-stamp 
 build-stamp: 
 	dh_testdir
+	dh_autoreconf
 	./configure --prefix=/usr --mandir=/usr/share/man \
 	 --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
 	 --enable-static --enable-shared \
@@ -44,6 +48,7 @@
 	-rm -f build-stamp
 	if [ -f Makefile ]; then $(MAKE) distclean; fi
 	$(MAKE) clean -C debian/extra
+	dh_autoreconf_clean
 	dh_clean
 
 binary-indep: 

Reply via email to