summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ghostscript/ghostscript/remove-direct-symlink.patch
blob: 410004e8f4b8799d9c784126fff6316683b65e8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From 2ce79942ca509663ddf8171f45d1d324bb71bad6 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Thu, 29 Mar 2018 17:22:35 +0800
Subject: [PATCH] remove direct symlink

The upstream create a direct symlink to stay backward
compatible, a symlink is automatically created to point
from the old location (/usr/share/ghostscript/<version>/doc)
to the new location.

It caused do_populate_sysroot failure
...
|ERROR: ghostscript-9.23-r0 do_populate_sysroot: sstate found an absolute
path symlink
...

Without the symlink is no harm for OE

Upstream-Status: Inappropriate [OE specific]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 base/unixinst.mak | 1 -
 1 file changed, 1 deletion(-)

diff --git a/base/unixinst.mak b/base/unixinst.mak
index 7fec86c..0cf2361 100644
--- a/base/unixinst.mak
+++ b/base/unixinst.mak
@@ -165,7 +165,6 @@ install-doc: $(PSDOCDIR)/News.htm
 	$(SH) -c 'for f in $(DOC_PAGES) ;\
 	do if ( test -f $(PSDOCDIR)/$$f ); then $(INSTALL_DATA) $(PSDOCDIR)/$$f $(DESTDIR)$(docdir); fi;\
 	done'
-	ln -s $(DESTDIR)$(docdir) $(DESTDIR)$(gsdatadir)/doc
 
 # install the man pages for each locale
 MAN_LCDIRS=. de
-- 
1.8.3.1