* Apply a small patch (forwarded from Ubuntu!) to debian/rules adding
--with-mysql-lib so that mysqltcl will work with a multiarch
libmysqlclient. (Closes: #650053)
+ * Include /usr/share/dpkg/buildflags.mk and use DPKG_EXPORT_BUILDFLAGS
+ in debian/rules. Add dpkg-dev (>= 1.16.1) to build-depends.
-- Sven Hoexter <hoexter@debian.org> Sat, 26 Nov 2011 09:13:01 +0100
Section: database
Priority: optional
Maintainer: Sven Hoexter <hoexter@debian.org>
-Build-Depends: debhelper (>= 8), tcl-dev, libmysqlclient-dev, quilt,
- dh-autoreconf
+Build-Depends: debhelper (>= 8), dpkg-dev (>= 1.16.1), tcl-dev,
+ libmysqlclient-dev, quilt, dh-autoreconf
Standards-Version: 3.9.2
Homepage: http://www.xdobry.de/mysqltcl/
Vcs-Git: git://git.sven.stormbind.net/git/sven/mysqltcl.git
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-LDFLAGS += -Wl,-z,defs -Wl,--as-needed
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
%: