mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
77af7b2407
* gnu/packages/patches/maxima-defsystem-mkdir.patch: New file. * gnu-system.am (dist_patch_DATA): Add it. * gnu/packages/maths.scm (maxima): Update to 5.36.1. Add patch.
13 lines
706 B
Diff
13 lines
706 B
Diff
Change 'ensure-directories-exist' to look for 'mkdir' in $PATH, not in /bin.
|
|
|
|
--- maxima-5.36.1/lisp-utils/defsystem.lisp.orig 2014-11-22 16:21:30.000000000 -0500
|
|
+++ maxima-5.36.1/lisp-utils/defsystem.lisp 2015-05-25 21:53:31.223648483 -0400
|
|
@@ -4627,7 +4627,7 @@
|
|
(cmd (if (member :win32 *features*)
|
|
(format nil "mkdir \"~a\""
|
|
(coerce (subst #\\ #\/ (coerce (namestring dir) 'list)) 'string))
|
|
- (format nil "/bin/mkdir -p ~S" (namestring dir)))))
|
|
+ (format nil "mkdir -p ~S" (namestring dir)))))
|
|
(unless (directory dir)
|
|
(lisp:system cmd))
|
|
;; The second return value is supposed to be T if directories were
|