Bug#891591: lld: broken symlink: /usr/share/man/man1/lld.1.gz -> lld-5.0.1.gz

Andreas Beckmann anbe at debian.org
Sun Mar 24 23:40:11 GMT 2019


Followup-For: Bug #891591
Control: tag -1 patch

attached patch changes this link to
/usr/share/man/man1/lld.1.gz -> ld.lld-VER.1.gz


Andreas
-------------- next part --------------
>From 56bf0d217e8bdfbd8b1bf25fc20dbb30be41100b Mon Sep 17 00:00:00 2001
From: Andreas Beckmann <anbe at debian.org>
Date: Mon, 25 Mar 2019 00:28:01 +0100
Subject: [PATCH] fix the lld.1.gz symlink

lld-V only ships the ld.lld-V.1.gz manpage, but no lld-V.1.gz symlink
---
 debian/changelog | 1 +
 debian/rules     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index b4a1b12..6035ce4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 llvm-defaults (0.47+nmu1) UNRELEASED; urgency=medium
 
   * Non-maintainer upload.
+  * Fix the lld.1.gz symlink.  (Closes: #891591)
 
  -- Andreas Beckmann <anbe at debian.org>  Mon, 25 Mar 2019 00:20:21 +0100
 
diff --git a/debian/rules b/debian/rules
index 8047afc..13265a3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -224,7 +224,7 @@ install: build README substvars
 	for man in \
 		ld.lld lld; do \
 		dh_link -plld \
-			/usr/share/man/man1/$$man-$(PV_LLVM).1.gz \
+			/usr/share/man/man1/ld.lld-$(PV_LLVM).1.gz \
 			/usr/share/man/man1/$$man.1.gz ; \
 	done
 
-- 
2.11.0



More information about the Pkg-llvm-team mailing list