gnu: netpbm: Fix a hard-coded path.

Fixes <https://bugs.gnu.org/24735>.

* gnu/packages/netpbm.scm (netpbm)[arguments]: Patch a path in the 'configure'
phase.
This commit is contained in:
Leo Famulari 2019-02-12 23:21:19 -05:00
parent c7cf43ddec
commit 344e0f5621
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 3 additions and 1 deletions

View File

@ -135,7 +135,9 @@
;; 'gsc', so look for that instead.
(substitute* "converter/other/pstopnm.c"
(("\"%s/gs\"")
"\"%s/gsc\"")))
"\"%s/gsc\"")
(("/usr/bin/gs")
(string-append (assoc-ref inputs "ghostscript") "/bin/gsc"))))
#t))
(add-before 'check 'setup-check
(lambda _