[gcc-6] 388/401: * Don't ship the gnatgcc manpage symlink when building GFDL packages. Closes: #857384.
Ximin Luo
infinity0 at debian.org
Wed Apr 5 15:50:43 UTC 2017
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch pu/reproducible_builds
in repository gcc-6.
commit cfc57f644ae306a549848fa2a43be24de879670a
Author: doko <doko at 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>
Date: Mon Mar 13 11:15:55 2017 +0000
* Don't ship the gnatgcc manpage symlink when building GFDL packages.
Closes: #857384.
git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-6@9350 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
---
debian/changelog | 2 ++
debian/rules.d/binary-ada.mk | 16 ++++++++++++----
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index c0023ff..2aa5941 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,8 @@ gcc-6 (6.3.0-9) UNRELEASED; urgency=medium
the code removing and warning about dpkg's specs.
* libstdc++6: Add break for libopenmpi1.6. Closes: #854881.
* Fix symlinks to man pages in the hppa64 package. Closes: #857583.
+ * Don't ship the gnatgcc manpage symlink when building GFDL packages.
+ Closes: #857384.
-- Matthias Klose <doko at debian.org> Tue, 07 Mar 2017 17:40:20 +0100
diff --git a/debian/rules.d/binary-ada.mk b/debian/rules.d/binary-ada.mk
index 32deda9..d8bb3ee 100644
--- a/debian/rules.d/binary-ada.mk
+++ b/debian/rules.d/binary-ada.mk
@@ -332,12 +332,20 @@ ifneq (,$(filter $(build_type), build-native cross-build-native))
endif
: # keep this one unversioned, see Debian #802838.
dh_link -p$(p_gnat) \
- usr/bin/$(cmd_prefix)gcc$(pkg_ver) usr/bin/$(cmd_prefix)gnatgcc \
- usr/share/man/man1/$(cmd_prefix)gcc$(pkg_ver).1.gz usr/share/man/man1/$(cmd_prefix)gnatgcc.1.gz
+ usr/bin/$(cmd_prefix)gcc$(pkg_ver) usr/bin/$(cmd_prefix)gnatgcc
+ifneq ($(GFDL_INVARIANT_FREE),yes)
+ dh_link -p$(p_gnat) \
+ usr/share/man/man1/$(cmd_prefix)gcc$(pkg_ver).1.gz \
+ usr/share/man/man1/$(cmd_prefix)gnatgcc.1.gz
+endif
ifeq ($(unprefixed_names),yes)
dh_link -p$(p_gnat) \
- usr/bin/$(cmd_prefix)gcc$(pkg_ver) usr/bin/gnatgcc \
- usr/share/man/man1/$(cmd_prefix)gcc$(pkg_ver).1.gz usr/share/man/man1/gnatgcc.1.gz
+ usr/bin/$(cmd_prefix)gcc$(pkg_ver) usr/bin/gnatgcc
+ ifneq ($(GFDL_INVARIANT_FREE),yes)
+ dh_link -p$(p_gnat) \
+ usr/share/man/man1/$(cmd_prefix)gcc$(pkg_ver).1.gz \
+ usr/share/man/man1/gnatgcc.1.gz
+ endif
endif
debian/dh_rmemptydirs -p$(p_gnat)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/gcc-6.git
More information about the Reproducible-commits
mailing list