me
/
guix
Archived
1
0
Fork 0

gnu: Use 'search-input-file' when searching for Automake files.

* gnu/packages/audio.scm (libsbsms)[arguments]: Use 'search-input-file'
when searching for Automake file.
* gnu/packages/maths.scm (hdf-java): Likewise.
master
Ludovic Courtès 2021-07-16 15:47:51 +02:00
parent 00d1ccaf12
commit ae112039ac
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
2 changed files with 10 additions and 6 deletions

View File

@ -3360,8 +3360,10 @@ analysis plugins or audio feature extraction plugins.")
;; Originally a symlink to '/usr/local/share/automake-1.12/ar-lib'.
(delete-file "ar-lib")
(symlink
(string-append (assoc-ref inputs "automake") "/share/automake-"
,(package-version automake) "/ar-lib")
(search-input-file inputs
(string-append "/share/automake-"
,(package-version automake)
"/ar-lib"))
"ar-lib")
#t)))))
(home-page "http://sbsms.sourceforge.net/")

View File

@ -1353,10 +1353,12 @@ extremely large and complex data collections.")
(with-directory-excursion "config"
(for-each (lambda (file)
(install-file
(string-append (assoc-ref inputs "automake")
"/share/automake-"
,(version-major+minor (package-version automake))
"/" file) "."))
(search-input-file inputs
(string-append
"/share/automake-"
,(version-major+minor (package-version automake))
"/" file))
"."))
'("config.sub" "config.guess")))
;; Fix embedded version number