From 344e0f56218f6b2680e0ab00446eed372216d420 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Tue, 12 Feb 2019 23:21:19 -0500 Subject: gnu: netpbm: Fix a hard-coded path. Fixes . * gnu/packages/netpbm.scm (netpbm)[arguments]: Patch a path in the 'configure' phase. --- gnu/packages/netpbm.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/netpbm.scm b/gnu/packages/netpbm.scm index e5246660a2..9c0e970257 100644 --- a/gnu/packages/netpbm.scm +++ b/gnu/packages/netpbm.scm @@ -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 _ -- cgit 1.4.1