Package: pdns
Version: 2.9.22-9
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch



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

The patch is pretty obvious, and is against the previous ubuntu version
so you'll need to manually solve it, however it will fix building against
multiarch libmysqlclient and sqlite3 when they land in unstable.

  * debian/rules: Fix FTBFS with multiarch libmysqlclient.

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 pdns-2.9.22/debian/changelog pdns-2.9.22/debian/changelog
diff -Nru pdns-2.9.22/debian/rules pdns-2.9.22/debian/rules
--- pdns-2.9.22/debian/rules	2011-07-04 09:03:40.000000000 -0700
+++ pdns-2.9.22/debian/rules	2011-11-25 17:27:28.000000000 -0800
@@ -9,6 +9,8 @@
 # from having to guess our platform (since we know it already)
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_MULTIARCH  ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
 
 CXXFLAGS = -Wall -g
 CFLAGS = -Wall -g
@@ -51,7 +53,8 @@
 		--with-modules="" \
 		--with-pgsql-includes=`pg_config --includedir` \
 		--disable-recursor \
-		--with-sqlite3-lib=/usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`
+		--with-sqlite3-lib=/usr/lib/$(DEB_HOST_MULTIARCH) \
+		--with-mysql-lib=/usr/lib/$(DEB_HOST_MULTIARCH)
 
 build: build-stamp
 build-stamp: config.status

Reply via email to