Bug 699157 - doc symlink points into DESTDIR
Summary: doc symlink points into DESTDIR
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Build Process (show other bugs)
Version: master
Hardware: PC All
: P4 normal
Assignee: Chris Liddell (chrisl)
QA Contact: Bug traffic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-27 04:38 UTC by Ryan Schmidt
Modified: 2018-03-29 05:45 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
Bugfix (488 bytes, text/plain)
2018-03-27 04:38 UTC, Ryan Schmidt
Details

Note You need to log in before you can comment on or make changes to this bug.
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