Package: ircd-irc2
Version: 2.11.2p2
Severity: normal
Tags: patch
User: debian-de...@lists.debian.org
Usertags: autoreconf

Dear Maintainer,

Currently ircd-irc2 FTBFS when compiled in new architectures that is not
supported on the package config files.

I just created this patch that updates the config files before building,
removing some logic from the rules file.

I tested it on ppc64el and it worked.

Thank you,
Breno
-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: ircd-irc2-2.11.2p2+dfsg/debian/rules
===================================================================
--- ircd-irc2-2.11.2p2+dfsg.orig/debian/rules	2010-04-19 17:12:03.000000000 +0000
+++ ircd-irc2-2.11.2p2+dfsg/debian/rules	2014-05-15 21:28:14.000000000 +0000
@@ -21,10 +21,7 @@
 configure-stamp:
 	
 	dh_testdir
-	-test -r /usr/share/misc/config.sub && \
-	  cp -f /usr/share/misc/config.sub support/config.sub
-	-test -r /usr/share/misc/config.guess && \
-	  cp -f /usr/share/misc/config.guess support/config.guess
+	dh_autotools-dev_updateconfig
 	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \
 	--mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --bindir=/usr/bin \
 	--datadir=/usr/share --sbindir=/usr/sbin --localstatedir=/var --sysconfdir=/etc/ircd \
@@ -45,9 +42,7 @@
 
 clean:
 	
-	-rm -rf $(CONFIG_GUESS)
-	-rm support/config.sub
-	-rm support/config.guess
+	dh_autotools-dev_restoreconfig
 
 	-rm -rf configure-stamp
 	-rm -rf build-stamp

Reply via email to