Package: dh-autoreconf
Version: 3
Severity: normal

The man page for dh_autoreconf has this in the usage:
[ program -- params ]
But if you pass -- and then parameters, they don't get seen by the
program. This appears to be because of the way debhelper handles those
extra arguments, and the attached patch seems to fix it.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dh-autoreconf depends on:
ii  autoconf                2.67-2           automatic configure script builder
ii  automake [automaken]    1:1.11.1-1       A tool for generating GNU Standard
ii  automake1.7 [automaken] 1.7.9-9.1        A tool for generating GNU Standard
ii  automake1.8 [automaken] 1.8.5+nogfdl-2   A tool for generating GNU Standard
ii  automake1.9 [automaken] 1.9.6+nogfdl-3.1 A tool for generating GNU Standard
ii  debhelper               8.1.3            helper programs for debian/rules
ii  libtool                 2.4-2            Generic library support script
ii  perl                    5.10.1-19        Larry Wall's Practical Extraction 

Versions of packages dh-autoreconf recommends:
ii  autopoint                     0.18.1.1-3 The autopoint program from GNU get

dh-autoreconf suggests no packages.

-- no debconf information
--- /usr/bin/dh_autoreconf      2011-04-04 10:15:40.000000000 -0400
+++ dh_autoreconf       2011-04-18 10:42:03.890100116 -0400
@@ -109,7 +109,7 @@
 complex_doit("$find > debian/autoreconf.before");
 
 # Run autoreconf to recreate the needed files.
-@ARGV ? doit(@ARGV) : doit('autoreconf', '-f', '-i', @directories);
+@ARGV ? doit(@ARGV, @{$dh{U_PARAMS}}) : doit('autoreconf', '-f', '-i', 
@directories);
 
 complex_doit("$find > debian/autoreconf.after");
 

Reply via email to