Source: staden
Version: 2.0.0+b10-1
Severity: normal
Tags: patch

Dear Maintainer,

Recently I've added multi-arch support to the itcl3 and itk3 packages.
In particular this means that their pkgIndex.tcl has been moved to
subdirs of /usr/lib/tcltk/$(DEB_HOST_MULTIARCH), and staden configure
script can't find them anymore (and refuses to build some graphic
frontend or whatever). I've prepared a small patch which specifies
the Itcl and Itk directories explicitly. If it's okay to you I could
also do NMU for this change.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru staden-2.0.0+b10/debian/changelog staden-2.0.0+b10/debian/changelog
--- staden-2.0.0+b10/debian/changelog	2014-05-13 15:59:35.000000000 +0400
+++ staden-2.0.0+b10/debian/changelog	2014-07-06 16:28:23.000000000 +0400
@@ -1,3 +1,10 @@
+staden (2.0.0+b10-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Point configure to the new location of itcl package.
+
+ -- Sergei Golovan <[email protected]>  Sun, 06 Jul 2014 16:28:20 +0400
+
 staden (2.0.0+b10-1) unstable; urgency=low
 
   [ Tim Booth ]
diff -Nru staden-2.0.0+b10/debian/rules staden-2.0.0+b10/debian/rules
--- staden-2.0.0+b10/debian/rules	2014-05-13 15:59:19.000000000 +0400
+++ staden-2.0.0+b10/debian/rules	2014-07-05 19:52:30.000000000 +0400
@@ -2,6 +2,7 @@
 
 ## DEB_BUILD_ARCH or DEB_BUILD_ARCH_BITS ??
 BITARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 ifeq ($(BITARCH),64)
     enable64bit:=--enable-64bit
 else
@@ -20,7 +21,9 @@
 #	dh_auto_configure -- --disable-rpath
 
 override_dh_auto_configure:
-	dh_auto_configure -- $(enable64bit)
+	dh_auto_configure -- $(enable64bit) \
+		--with-itcl=/usr/lib/tcltk/$(DEB_HOST_MULTIARCH) \
+		--with-itk=/usr/lib/tcltk/$(DEB_HOST_MULTIARCH)
 
 override_dh_auto_install:
 	dh_auto_install

Reply via email to