r32642 - in /packages/unstable/gmime2.4/debian: changelog rules

mpitt at users.alioth.debian.org mpitt at users.alioth.debian.org
Wed Feb 22 06:37:38 UTC 2012


Author: mpitt
Date: Wed Feb 22 06:37:36 2012
New Revision: 32642

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=32642
Log:
debian/rules: Only use the "cli" dh module if it's present. This is not
the case for -B builds, as the CLI build dependencies are B-D-Indep.

Modified:
    packages/unstable/gmime2.4/debian/changelog
    packages/unstable/gmime2.4/debian/rules

Modified: packages/unstable/gmime2.4/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gmime2.4/debian/changelog?rev=32642&op=diff
==============================================================================
--- packages/unstable/gmime2.4/debian/changelog [utf-8] (original)
+++ packages/unstable/gmime2.4/debian/changelog [utf-8] Wed Feb 22 06:37:36 2012
@@ -1,3 +1,10 @@
+gmime2.4 (2.4.32-2) UNRELEASED; urgency=low
+
+  * debian/rules: Only use the "cli" dh module if it's present. This is not
+    the case for -B builds, as the CLI build dependencies are B-D-Indep.
+
+ -- Martin Pitt <mpitt at debian.org>  Wed, 22 Feb 2012 07:37:03 +0100
+
 gmime2.4 (2.4.32-1) unstable; urgency=low
 
   * New upstream bug fix release.

Modified: packages/unstable/gmime2.4/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gmime2.4/debian/rules?rev=32642&op=diff
==============================================================================
--- packages/unstable/gmime2.4/debian/rules [utf-8] (original)
+++ packages/unstable/gmime2.4/debian/rules [utf-8] Wed Feb 22 06:37:36 2012
@@ -61,6 +61,11 @@
 		--repack
 
 %:
-	dh $@ --with autoreconf,cli
+	# avoid "cli" for -B builds, it's a B-D-Indep
+	if dh -l | grep -q ^cli; then \
+	  dh $@ --with autoreconf,cli; \
+	else \
+	  dh $@ --with autoreconf; \
+	fi
 
 .PHONY: configure build clean get-orig-source




More information about the pkg-gnome-commits mailing list