[Pkg-alsa-devel] Bug#257753: alsa-utils: Debian alsaconf patch is not always used
Mikael Magnusson
Mikael Magnusson <mikaelmagnusson@tjohoo.se>, 257753@bugs.debian.org
Mon, 05 Jul 2004 22:49:45 +0200
Package: alsa-utils
Version: 1.0.5-1
Severity: normal
Tags: patch
Since the patch debian/patches/90_an_alsaconf.dpatch modifies a file
used by configure, it should be applied before configuring the
package. This is the case when using the build target in debian/rules,
or some target that depends on it. But if the configure target is
invoked before, the patch will change alsaconf/alsaconf.in after it is
used by configure.
Regards,
Mikael Magnusson
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (900, 'unstable'), (800, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.5-skas-1
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8
Versions of packages alsa-utils depends on:
ii alsa-base 1.0.5a-1 ALSA sound driver common files
ii dialog 0.9b-20040606-1 Displays user-friendly dialog boxe
ii libasound2 1.0.5-1 Advanced Linux Sound Architecture
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii module-init-tools 3.1-pre4-1 tools for managing Linux kernel mo
ii modutils 2.4.26-1 Linux module utilities
ii pciutils 1:2.1.11-11 Linux PCI Utilities (for 2.*.* ker
ii whiptail 0.51.6-6 Displays user-friendly dialog boxe
-- no debconf information
--- ../../orig/alsa-utils-1.0.5/debian/rules 2004-07-05 21:58:04.000000000 +0200
+++ debian/rules 2004-07-05 22:42:30.000000000 +0200
@@ -16,7 +16,7 @@
endif
-configure: configure-stamp
+configure: patch configure-stamp
configure-stamp:
dh_testdir
@@ -33,24 +33,24 @@
touch configure-stamp
-build: patch-stamp configure-stamp build-stamp
-build-stamp:
+build: configure build-stamp
+build-stamp:
$(MAKE) CFLAGS='$(CFLAGS)'
touch build-stamp
clean: unpatch
dh_testdir
dh_clean
-
+
-$(MAKE) distclean
-rm -f version
-
+
-rm -f configure-stamp build-stamp
-rm -f config.cache config.log config.status Makefile.conf
-rm -f config.sub config.guess
-rm -f aplay/arecord
-
+
install: DH_OPTIONS=
install: build
@@ -61,7 +61,7 @@
binary-indep:
-binary-arch: patch-stamp build install
+binary-arch: build install
dh_testdir
dh_testroot
dh_installdirs