[Build-common-hackers] Bug#256079: cdbs: please remove "deprecated" warning - it's scary

W. Borgert debacle@debian.org, 256079@bugs.debian.org
Thu, 24 Jun 2004 21:32:40 +0000


This is a multi-part MIME message sent by reportbug.

--===============1173059027==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: cdbs
Version: 0.4.21-0.1
Severity: minor
Tags: patch

Please apply the patch.
If one still likes the warning, they have to set the
variable DEB_WARN_DEPRECATED=1 in debian/rules.

--===============1173059027==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="buildcore.mk.patch"

--- buildcore.mk.orig	2004-06-23 19:56:58.000000000 +0000
+++ buildcore.mk	2004-06-23 20:37:59.000000000 +0000
@@ -56,7 +56,9 @@
 # the future it will be a good place to generate debian/control, but right
 # now we don't support that very well.
 pre-build:: testdir makebuilddir
+ifdef DEB_WARN_DEPRECATED
 	$(foreach x,$(_cdbs_deprecated_vars),$(warning "$x is a deprecated variable"))
+endif
 
 # This target is called after patches are applied.  Right now it's only used
 # by the patch system.

--===============1173059027==--