[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#97865: NMU proposal: config.sub/guess move to package autotools-dev

Package: automake
Version: 1.4-8
Severity: wishlist

This is a pending NMU warning. I intend to NMU automake by applying the
attached patch and uploading it to the Debian archive.

The autotools-dev package has just been uploaded, and will take a few days
to get installed, as it is usual for new packages. I'll also wait for the
libtool maintainer to upload a new version of libtool depending on
autotools-dev, and then I'll NMU if Kevin does not contact me regarding the

(PS: "See: #foo" in the changelog will be changed to the bug report number
of this bug)

  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
diff -u automake-1.4/debian/control automake-1.4/debian/control
--- automake-1.4/debian/control
+++ automake-1.4/debian/control
@@ -7,7 +7,7 @@
 Package: automake
 Architecture: all
 Section: devel
-Depends: autoconf
+Depends: autoconf, autotools-dev
 Description: A tool for generating GNU Standards-compliant Makefiles.
  Automake is a tool for automatically generating `Makefile.in's from
  files called `Makefile.am'.  The `Makefile.am' is basically a series of
diff -u automake-1.4/debian/changelog automake-1.4/debian/changelog
--- automake-1.4/debian/changelog
+++ automake-1.4/debian/changelog
@@ -1,3 +1,13 @@
+automake (1.4-8.1) unstable; urgency=low
+  * NMU (we need this change to help S/390, hppa, mipsel). See #foo
+  * Depends: autotools-dev, and symlink /usr/share/automake/config.{sub,guess}
+    to the ones provided in autotools-dev (/usr/share/misc/config...)
+  * Refresh config.{sub,guess} to the autotools-dev provided ones at build
+    time (in debian/rules clean target -- propagates to source package)
+ -- Henrique de Moraes Holschuh <hmh@debian.org>  Thu, 17 May 2001 18:09:41 -0300
 automake (1.4-8) frozen unstable; urgency=low
   * Changed doc-base section to Apps/programming from devel (closes: #59876)
diff -u automake-1.4/debian/rules automake-1.4/debian/rules
--- automake-1.4/debian/rules
+++ automake-1.4/debian/rules
@@ -40,6 +40,10 @@
 	-rm -f build
 	-$(MAKE) -i distclean || $(MAKE) -f Makefile.in distclean
 	-rm -rf *~ debian/tmp debian/*~ debian/files*
+	-test -r /usr/share/misc/config.sub && \
+	  cp -f /usr/share/misc/config.sub config.sub
+	-test -r /usr/share/misc/config.guess && \
+	  cp -f /usr/share/misc/config.guess config.guess
 binary-indep:	checkroot build
@@ -49,6 +53,10 @@
 	install debian/{postinst,prerm,postrm} debian/tmp/DEBIAN/.
 	$(MAKE) INSTALL_PROGRAM='install -c' \
 		prefix=`pwd`/debian/tmp/usr install
+	for i in config.sub config.guess ; do \
+	    rm -f debian/tmp/usr/share/automake/$$i ;\
+	    ln -s ../misc/$$i debian/tmp/usr/share/automake/$$i ;\
+	done
 	install -d debian/tmp/usr/share/doc-base
 	install -m 0644 debian/doc-base \

Reply to: