diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-04-05 15:23:11 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-04-05 15:23:11 +0200 |
commit | 1d386b2d711fee2dc618358ac51b1865e3f85433 (patch) | |
tree | 3b36985e53fbb237963f3f024c43768860fdc7da /gnu/packages/ghostscript.scm | |
parent | c17b2adf541d24dab357f54b62e6399800534313 (diff) | |
download | guix-1d386b2d711fee2dc618358ac51b1865e3f85433.tar guix-1d386b2d711fee2dc618358ac51b1865e3f85433.tar.gz |
gnu: ghostscript: Add $libdir to the RUNPATH of executables.
Fixes <http://bugs.gnu.org/20050>.
Reported by taylanbayirli@gmail.com (Taylan Ulrich Bayırlı/Kammer).
* gnu/packages/patches/ghostscript-runpath.patch: New file.
* gnu/packages/ghostscript.scm (ghostscript)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/ghostscript.scm')
-rw-r--r-- | gnu/packages/ghostscript.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm index 3c18093eae..f9026704da 100644 --- a/gnu/packages/ghostscript.scm +++ b/gnu/packages/ghostscript.scm @@ -126,8 +126,10 @@ printing, and psresize, for adjusting page sizes.") (method url-fetch) (uri (string-append "mirror://gnu/ghostscript/gnu-ghostscript-" version ".tar.xz")) - (sha256 (base32 - "0q4jj41p0qbr4mgcc9q78f5zs8cm1g57wgryhsm2yq4lfslm3ib1")))) + (sha256 + (base32 + "0q4jj41p0qbr4mgcc9q78f5zs8cm1g57wgryhsm2yq4lfslm3ib1")) + (patches (list (search-patch "ghostscript-runpath.patch"))))) (build-system gnu-build-system) (inputs `(("freetype" ,freetype) ("lcms" ,lcms) |