Package: exonerate
Version: 2.2.0-3
Followup-For: Bug #651802
User: [email protected]
Usertags: origin-ubuntu precise ubuntu-patch

Unfortunately, the autoreconf patch doesn't work with --as-needed.  I've 
attached a patch that switches the build to use dh-autoreconf which has an 
option to work with --as-needed.

*** /tmp/tmpmfFbX8/bug_body
In Ubuntu, the attached patch was applied to achieve the following:



  * Use dh-autoreconf instead of aclocal-1.4 to fix FTBFS with --as-needed;
    Debian's autoreconf patch doesn't work with --as-needed
    - update debian/control
    - update debian/rules


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric-proposed'), (500, 'oneiric'), (100, 'oneiric-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-13-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru exonerate-2.2.0/debian/changelog exonerate-2.2.0/debian/changelog
diff -Nru exonerate-2.2.0/debian/control exonerate-2.2.0/debian/control
--- exonerate-2.2.0/debian/control	2011-12-12 06:47:22.000000000 -0600
+++ exonerate-2.2.0/debian/control	2011-12-23 01:17:03.000000000 -0600
@@ -1,12 +1,12 @@
 Source: exonerate
 Section: science
 Priority: optional
 Maintainer: Debian Med Packaging Team <[email protected]>
 DM-Upload-Allowed: yes
 Uploaders: Steffen Moeller <[email protected]>,
  Charles Plessy <[email protected]>,
  Andreas Tille <[email protected]>
-Build-Depends: debhelper (>= 8), autotools-dev, libglib2.0-dev, libreadline-dev
+Build-Depends: debhelper (>= 8), autotools-dev, libglib2.0-dev, libreadline-dev, dh-autoreconf
 Standards-Version: 3.9.2
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/exonerate/trunk/
 Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/exonerate/trunk/
diff -Nru exonerate-2.2.0/debian/patches/series exonerate-2.2.0/debian/patches/series
diff -Nru exonerate-2.2.0/debian/rules exonerate-2.2.0/debian/rules
--- exonerate-2.2.0/debian/rules	2011-12-12 07:23:05.000000000 -0600
+++ exonerate-2.2.0/debian/rules	2011-12-23 01:16:52.000000000 -0600
@@ -5,7 +5,10 @@
 # GPL
 
 %:
-	dh $@
+	dh $@ --with autoreconf
+
+override_dh_autoreconf:
+	dh_autoreconf --as-needed
 
 override_dh_auto_clean:
 	dh_auto_clean

Reply via email to