Bug 699157

Summary: doc symlink points into DESTDIR
Product: Ghostscript Reporter: Ryan Schmidt <ghostscript>
Component: Build ProcessAssignee: Chris Liddell (chrisl) <chris.liddell>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P4    
Version: master   
Hardware: PC   
OS: All   
Customer: Word Size: ---
Attachments: Bugfix

Description Ryan Schmidt 2018-03-27 04:38:34 UTC
Created attachment 14935 [details]
Bugfix

If ghostscript 9.23 is installed using `make install DESTDIR=/somewhere`, then the $PREFIX/share/ghostscript/9.23/doc symlink points to /somewhere$PREFIX/share/doc/ghostscript/9.23 instead of to $PREFIX/share/doc/ghostscript/9.23 as expected.

Patch attached to fix it.

Here is the MacPorts project's bug report about this problem: https://trac.macports.org/ticket/56157

P.S: Please add "9.23" to the Version menu in this bug tracker.
Comment 1 Chris Liddell (chrisl) 2018-03-27 05:41:39 UTC
TBH, I think I want to remove that symlink, now.

Any objection to that solution?
Comment 2 Ryan Schmidt 2018-03-27 05:42:22 UTC
That's up to you.
Comment 3 Chris Liddell (chrisl) 2018-03-29 05:45:15 UTC
"Fixed" by removing the symlink - it was only planned for one release, anyway:

http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=0a4ef8b01c2