[pkg-remote-commits] [nx-libs] 02/08: debian/rules: Evoke dpkg-shlibs with --ignore-missing-info in order to handle the libNX_X11 -> libX11 injection trick gracefully.

Mike Gabriel sunweaver at debian.org
Sun Jan 28 20:28:45 UTC 2018


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

sunweaver pushed a commit to branch master
in repository nx-libs.

commit 7168c2e69b8984a18ae0d5e35bacb367ed7a4279
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sat Jan 20 13:47:53 2018 +0100

    debian/rules: Evoke dpkg-shlibs with --ignore-missing-info in order to handle the libNX_X11 -> libX11 injection trick gracefully.
---
 debian/rules | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/debian/rules b/debian/rules
index f08a0e4..890225b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -102,5 +102,13 @@ override_dh_auto_build:
 override_dh_makeshlibs:
 	dh_makeshlibs -n
 
+# Needed for the libX11 RUNPATH/RPATH link-time hack.
+# dh_shlibdeps will follow dependencies within binaries and choke
+# on the libX11 dependency, since the SONAME (libX11.*) used while linking
+# does not match the later detected SONAME (libNX_X11.*) obtained through
+# the libX11 -> libNX_X11 compat symlink.
+override_dh_shlibdeps:
+	dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
+
 get-orig-source:
 	uscan --noconf --force-download --rename --download-current-version --destdir=..

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-remote/nx-libs.git



More information about the pkg-remote-commits mailing list