[gmt] 23/29: Strip RPATH from binary & libraries.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Sun Jun 7 18:33:40 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository gmt.
commit 489257332dc513a6dff02a1ef25439441442e0d3
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sat Jun 6 21:48:34 2015 +0200
Strip RPATH from binary & libraries.
---
debian/changelog | 1 +
debian/control | 1 +
debian/rules | 6 ++++++
3 files changed, 8 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index d175396..97a466f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -33,6 +33,7 @@ gmt (5.1.2+dfsg-1) UNRELEASED; urgency=medium
* Fix libgmt5 installation.
* Disable use of non-free triangle source.
* Fix bash-completion installation.
+ * Strip RPATH from binary & libraries.
-- Bas Couwenberg <sebastic at debian.org> Fri, 05 Jun 2015 18:12:12 +0200
diff --git a/debian/control b/debian/control
index 509182f..cddee2c 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Uploaders: Francesco Paolo Lovergine <frankie at debian.org>,
Section: science
Priority: extra
Build-Depends: debhelper (>= 9),
+ chrpath,
cmake,
libgdal-dev,
libnetcdf-dev,
diff --git a/debian/rules b/debian/rules
index 9e77966..51b938c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -71,6 +71,12 @@ export DH_VERBOSE
rm -rf debian/tmp/usr/etc/bash_completion.d
rmdir debian/tmp/usr/etc/
+ # Strip RPATH
+ chrpath --delete \
+ debian/tmp/usr/lib/*/gmt/plugins/supplements.so \
+ debian/tmp/usr/lib/*/lib*.so.*.* \
+ debian/tmp/usr/bin/gmt
+
# $(MAKE) -C build/src/mex DESTDIR=$(DESTDIR) install
# -find $(DESTDIR)/usr/lib/octave -name "*.mex" -exec rename 's/\.mex/.oct/' {} \;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/gmt.git
More information about the Pkg-grass-devel
mailing list