Sorry missed attaching the patch

- Brahadambal Srinivasan
diff -ruN gnokii-0.6.30+dfsg.orig/debian/control 
gnokii-0.6.30+dfsg/debian/control
--- gnokii-0.6.30+dfsg.orig/debian/control      2014-09-02 15:55:33.000000000 
+0000
+++ gnokii-0.6.30+dfsg/debian/control   2014-09-02 15:56:06.000000000 +0000
@@ -5,7 +5,7 @@
 Build-Depends: debhelper (>= 7.0.50~), libxpm-dev, libxt-dev, libglib2.0-dev, 
libgtk2.0-dev,
  gettext, libmysqlclient-dev, libpq-dev,
  libbluetooth-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], libusb-dev,
- libpcsclite-dev (>= 1.7.0), autotools-dev, libical-dev, libxml-parser-perl, 
intltool,
+ libpcsclite-dev (>= 1.7.0), dh-autoreconf, libical-dev, libxml-parser-perl, 
intltool,
  libreadline-dev, flex
 Standards-Version: 3.9.2
 Homepage: http://gnokii.org
diff -ruN gnokii-0.6.30+dfsg.orig/debian/rules gnokii-0.6.30+dfsg/debian/rules
--- gnokii-0.6.30+dfsg.orig/debian/rules        2014-09-02 15:55:43.000000000 
+0000
+++ gnokii-0.6.30+dfsg/debian/rules     2014-09-02 15:56:51.000000000 +0000
@@ -22,16 +22,14 @@
 
        rm -f config/config.guess config/config.sub
 
+       dh_autoreconf_clean
        dh_clean
 
 configure: configure-stamp
 configure-stamp:
        dh_testdir
        # Update config.{sub,guess} before running configure
-       -test -r /usr/share/misc/config.sub && \
-               cp -f /usr/share/misc/config.sub config/config.sub
-       -test -r /usr/share/misc/config.guess && \
-               cp -f /usr/share/misc/config.guess config/config.guess
+       dh_autoreconf
        ./configure --prefix=/usr --mandir=/usr/share/man \
          --with-x --enable-nls --enable-security \
          --enable-smsd --enable-libpcsclite --enable-bluetooth \

Reply via email to