[libdap] 11/48: Run as-needed
Alastair McKinstry
mckinstry at moszumanska.debian.org
Sun Jul 5 10:17:08 UTC 2015
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to tag unstable/3.12.0-1
in repository libdap.
commit bbf3c3d3ea28b82803d6beb8f71665d7ba72f476
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Tue Sep 13 17:13:59 2011 +0100
Run as-needed
---
debian/changelog | 7 +++++++
debian/control | 2 +-
debian/rules | 5 ++++-
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 0b9fd54..8234418 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libdap (3.11.1-8) unstable; urgency=low
+
+ * Remove unnecessary ${shlibs:Depends} from -dev package.
+ * Add -Wl,--as-needed to remove unneeded dependencies
+
+ -- Alastair McKinstry <mckinstry at debian.org> Tue, 13 Sep 2011 16:39:26 +0100
+
libdap (3.11.1-7) unstable; urgency=low
* Fix dependencies of libdap-dev. Add Dependency on uuid-dev. Closes: #640260.
diff --git a/debian/control b/debian/control
index f4b6baf..03b949e 100644
--- a/debian/control
+++ b/debian/control
@@ -78,7 +78,7 @@ Package: libdap-dev
Section: libdevel
Architecture: any
Conflicts: libdnet-dev
-Depends: libdap11 ( = ${binary:Version} ), libdapserver7 (=${binary:Version}), libdapclient3 (=${binary:Version}) , ${misc:Depends}, ${shlibs:Depends}, libxml2-dev, libcurl4-gnutls-dev, uuid-dev
+Depends: libdap11 ( = ${binary:Version} ), libdapserver7 (=${binary:Version}), libdapclient3 (=${binary:Version}) , ${misc:Depends}, libxml2-dev, libcurl4-gnutls-dev, uuid-dev
Recommends: pkg-config
Description: Development files (headers and static libraries) for libdap
OPeNDAP provides software that allows you to access data over the internet,
diff --git a/debian/rules b/debian/rules
index 0348e29..2a3193d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,8 +9,11 @@ DEB_CONFIGURE_EXTRA_FLAGS := --with-gnu-ld
override_dh_auto_configure:
# remove out of date files
rm -f conf/config.guess conf/config.sub
+ # Patch libtool to fix as-needed brokenness. _After_ updating libtool.
+ libtoolize -c -f
+ (cd conf && patch < ../debian/as-needed.patch)
autoreconf -fi
- dh_auto_configure
+ LDFLAGS=" -Wl,--as-needed" dh_auto_configure
override_dh_auto_build:
dh_auto_build
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libdap.git
More information about the debian-science-commits
mailing list