Package: mysql++ Version: 3.1.0-1 Severity: important Tags: patch User: [email protected] Usertags: origin-ubuntu precise ubuntu-patch
*** /tmp/tmp4d3slI/bug_body In Ubuntu, the attached patch was applied to achieve the following: libmysqlclient-dev in experimental is multiarch, should be moving to unstable soon. * use DEB_HOST_MULTIARCH in debian/rules to find mysql libs 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 -Nru mysql++-3.1.0/debian/rules mysql++-3.1.0/debian/rules --- mysql++-3.1.0/debian/rules 2009-04-17 18:54:00.000000000 -0700 +++ mysql++-3.1.0/debian/rules 2011-11-25 16:41:05.000000000 -0800 @@ -4,6 +4,8 @@ include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/simple-patchsys.mk -DEB_CONFIGURE_EXTRA_FLAGS = --enable-static +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + +DEB_CONFIGURE_EXTRA_FLAGS = --enable-static --with-mysql-lib=/usr/lib/$(DEB_HOST_MULTIARCH) DEB_COMPRESS_EXCLUDE = .cpp .h

