Package: mysqltcl
Version: 3.05-5
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch



*** /tmp/tmpO3Z9ih/bug_body
In Ubuntu, the attached patch was applied to achieve the following:

libmysqlclient-dev in experimental is multi-arch.. should be moving
to unstable soon.

  * debian/rules: pass mysql lib dir for multiarch

Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-12-generic (SMP w/2 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 -u mysqltcl-3.05/debian/changelog mysqltcl-3.05/debian/changelog
diff -u mysqltcl-3.05/debian/control mysqltcl-3.05/debian/control
--- mysqltcl-3.05/debian/control
+++ mysqltcl-3.05/debian/control
@@ -1,7 +1,8 @@
 Source: mysqltcl
 Section: database
 Priority: optional
-Maintainer: Sven Hoexter <hoex...@debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
+XSBC-Original-Maintainer: Sven Hoexter <hoex...@debian.org>
 Build-Depends: debhelper (>= 8), tcl-dev, libmysqlclient-dev, quilt,
  dh-autoreconf
 Standards-Version: 3.9.2
diff -u mysqltcl-3.05/debian/rules mysqltcl-3.05/debian/rules
--- mysqltcl-3.05/debian/rules
+++ mysqltcl-3.05/debian/rules
@@ -4,6 +4,7 @@
 #export DH_VERBOSE=1
 
 LDFLAGS += -Wl,-z,defs -Wl,--as-needed
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 %:
 	dh $@ --with quilt,autoreconf
@@ -16,6 +17,7 @@
 		--infodir=/usr/share/info \
 		--with-tcl=/usr/lib \
 		--with-tclinclude=/usr/include/tcl \
+		--with-mysql-lib=/usr/lib/$(DEB_HOST_MULTIARCH)
 
 override_dh_auto_install:
 	dh_auto_install --destdir=$(CURDIR)/debian/mysqltcl

Reply via email to