From: Sven Hoexter Date: Sat, 26 Nov 2011 08:48:35 +0000 (+0100) Subject: Include /usr/share/dpkg/buildflags.mk and use DPKG_EXPORT_BUILDFLAGS in debian/rules... X-Git-Tag: debian/3.05-6~1 X-Git-Url: https://git.sven.stormbind.net/?a=commitdiff_plain;h=7ba0b663f322c557538e0296925ee456c6927599;p=sven%2Fmysqltcl.git Include /usr/share/dpkg/buildflags.mk and use DPKG_EXPORT_BUILDFLAGS in debian/rules. Add dpkg-dev (>= 1.16.1) to build-depends. --- diff --git a/debian/changelog b/debian/changelog index fb050f3..4202980 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,8 @@ mysqltcl (3.05-6) UNRELEASED; urgency=low * 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 Sat, 26 Nov 2011 09:13:01 +0100 diff --git a/debian/control b/debian/control index e4fd668..b2757f8 100644 --- a/debian/control +++ b/debian/control @@ -2,8 +2,8 @@ Source: mysqltcl Section: database Priority: optional Maintainer: Sven Hoexter -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 diff --git a/debian/rules b/debian/rules index 292ecc9..571e38b 100755 --- a/debian/rules +++ b/debian/rules @@ -3,7 +3,9 @@ # 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) %: