[med-svn] r7702 - trunk/packages/gdcm/trunk/debian

Mathieu Malaterre malat-guest at alioth.debian.org
Wed Sep 7 18:21:37 UTC 2011


Author: malat-guest
Date: 2011-09-07 18:21:37 +0000 (Wed, 07 Sep 2011)
New Revision: 7702

Modified:
   trunk/packages/gdcm/trunk/debian/changelog
   trunk/packages/gdcm/trunk/debian/rules
Log:
Fix cli

Modified: trunk/packages/gdcm/trunk/debian/changelog
===================================================================
--- trunk/packages/gdcm/trunk/debian/changelog	2011-09-07 18:06:37 UTC (rev 7701)
+++ trunk/packages/gdcm/trunk/debian/changelog	2011-09-07 18:21:37 UTC (rev 7702)
@@ -1,3 +1,9 @@
+gdcm (2.0.18-4) unstable; urgency=low
+
+  * One cannot call --with cli when mono is not available
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Wed, 07 Sep 2011 20:20:59 +0200
+
 gdcm (2.0.18-3) unstable; urgency=low
 
   * Redo d/rules files to use dh(8)

Modified: trunk/packages/gdcm/trunk/debian/rules
===================================================================
--- trunk/packages/gdcm/trunk/debian/rules	2011-09-07 18:06:37 UTC (rev 7701)
+++ trunk/packages/gdcm/trunk/debian/rules	2011-09-07 18:21:37 UTC (rev 7702)
@@ -6,15 +6,18 @@
 # to please dpkg-shlibdeps and java private libs in /usr/lib/jni
 export LD_LIBRARY_PATH+=:/usr/lib/jni
 
-%:
-	dh $@ --with cli --with python2 --parallel
-
 # Mono is not available for all Debian architectures.
+ifeq ($(shell dh_listpackages | grep -q cil && echo yes),yes)
+WITH_CLI = --with cli
 DEB_WRAP_CSHARP = 1
-ifneq (,$(filter m68k alpha hppa mips mipsel ,$(DEB_BUILD_ARCH)))
-  DEB_WRAP_CSHARP = 0
+else
+WITH_CLI =
+DEB_WRAP_CSHARP = 0
 endif
 
+%:
+	dh $@ $(WITH_CLI) --with python2 --parallel
+
 PYVER 	 := $(shell pyversions -dv)
 PYMODDIR := /usr/lib/$(shell pyversions -r)
 




More information about the debian-med-commit mailing list