[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: netpbm: Fix a hard-coded path.
From: |
guix-commits |
Subject: |
01/01: gnu: netpbm: Fix a hard-coded path. |
Date: |
Tue, 12 Feb 2019 23:26:33 -0500 (EST) |
lfam pushed a commit to branch master
in repository guix.
commit 344e0f56218f6b2680e0ab00446eed372216d420
Author: Leo Famulari <address@hidden>
Date: Tue Feb 12 23:21:19 2019 -0500
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.
---
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 e524666..9c0e970 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 _