Package: docbook2x
Version: 0.8.8-11
Severity: wishlist
Tags: patch

Hi,

Related to #800142, please re-enable autoreconfing. Just "dropping
stuff" because it's broken doesn't seem like a good idea from a QA point
of view.

Autoreconfing is best practice as it can automatically fix a bunch of
porting and archive-wide support for stuff (eg. LFS). It also ensures a
package can be genuinely rebuilt from its sources.

Patch attached. (Note the extra change required to ./configure.ac to
prevent #800142 re-appearing.)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
diff --git a/configure.ac b/configure.ac
index db635a7..f374b66 100644
--- a/configure.ac
+++ b/configure.ac
@@ -149,6 +149,11 @@ dnl they will reside and should use these static_* values.
 dnl Ensure that all static_* are fully expanded.
 
 eval static_datadir="$datadir"
+old_val=""
+until test "$static_datadir" = "$old_val"; do
+       old_val="$static_datadir"
+       eval static_datadir="$static_datadir"
+done
 
 eval static_bindir="$bindir"
 old_val=""
diff --git a/debian/control b/debian/control
index 25d22c5..d04900f 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,8 @@ Uploaders: Ardo van Rangelrooij <[email protected]>,
            W. Borgert <[email protected]>,
            Daniel Leidert (dale) <[email protected]>,
            Gianfranco Costamagna <[email protected]>
-Build-Depends: debhelper (>= 9),
+Build-Depends: dh-autoreconf,
+               debhelper (>= 9),
                libxml-sax-perl,
                opensp,
                sp,
diff --git a/debian/rules b/debian/rules
index dbd1563..3a9804e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-       dh $@ --parallel
+       dh $@ --parallel --with autoreconf
 
 PACKAGE := docbook2x
 

Reply via email to