[ncview] 08/17: Remove embedded RPATH from binaries.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sat Apr 18 18:05:54 UTC 2015


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository ncview.

commit fce517fd2df84182ee25594ba1a1340710cd50a3
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Apr 18 15:40:21 2015 +0200

    Remove embedded RPATH from binaries.
---
 debian/control | 1 +
 debian/rules   | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/debian/control b/debian/control
index 18f769d..cc0f6db 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Priority: optional
 Build-Depends: debhelper (>= 9),
                dh-autoreconf,
                autotools-dev,
+               chrpath,
                libexpat1-dev,
                libpng-dev,
                libnetcdf-dev,
diff --git a/debian/rules b/debian/rules
index a99bc7e..d7c7a7a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,3 +7,9 @@
 	  --with autotools-dev \
 	  --parallel
 
+override_dh_auto_install:
+	dh_auto_install
+
+	# removing embedded rpath in binaries
+	-find $(CURDIR)/debian/*/usr/bin -type f -exec chrpath --delete {} \;
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/ncview.git



More information about the Pkg-grass-devel mailing list