diff options
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/maths.scm | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 6dbb702929..6ebc82a200 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -953,10 +953,19 @@ extremely large and complex data collections.") ;; Replace outdated config.sub and config.guess: (with-directory-excursion "config" (for-each (lambda (file) - (copy-file + (install-file (string-append (assoc-ref inputs "automake") - "/share/automake-1.15/" file) file)) + "/share/automake-" + ,(version-major+minor (package-version automake)) + "/" file) ".")) '("config.sub" "config.guess"))) + + ;; Fix embedded version number + (let ((hdf5version (list ,@(string-split (package-version hdf5) #\.)))) + (substitute* "hdf/hdf5lib/H5.java" + (("1, 8, 19") + (string-join hdf5version ", ")))) + (mkdir-p (string-append (assoc-ref outputs "out"))) ;; Set classpath for tests (let* ((build-dir (getcwd)) |