mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: recutils: Adjust to Bash 4.4.
* gnu/packages/databases.scm (recutils)[arguments]: Add 'set-bash4.4-header-location' phase.
This commit is contained in:
parent
759aadd46f
commit
c21af659b4
1 changed files with 18 additions and 1 deletions
|
@ -405,7 +405,24 @@ (define-public recutils
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
(list (string-append "--with-bash-headers="
|
(list (string-append "--with-bash-headers="
|
||||||
(assoc-ref %build-inputs "bash:include")
|
(assoc-ref %build-inputs "bash:include")
|
||||||
"/include/bash"))))
|
"/include/bash"))
|
||||||
|
|
||||||
|
#:phases (modify-phases %standard-phases
|
||||||
|
(add-before 'build 'set-bash4.4-header-location
|
||||||
|
(lambda _
|
||||||
|
(substitute* "bash/Makefile.in"
|
||||||
|
;; Adjust the header search path for Bash
|
||||||
|
;; 4.4 in accordance with 'bash.pc'.
|
||||||
|
(("AM_CPPFLAGS = (.*)$" _ rest)
|
||||||
|
(string-append "AM_CPPFLAGS = "
|
||||||
|
"-I$(BASH_HEADERS)/include "
|
||||||
|
rest))
|
||||||
|
|
||||||
|
;; Install to PREFIX/lib/bash to match Bash
|
||||||
|
;; 4.4's search path.
|
||||||
|
(("^libdir = .*$")
|
||||||
|
"libdir = @libdir@/bash\n"))
|
||||||
|
#t)))))
|
||||||
|
|
||||||
(native-inputs `(("emacs" ,emacs-minimal)
|
(native-inputs `(("emacs" ,emacs-minimal)
|
||||||
("bc" ,bc)
|
("bc" ,bc)
|
||||||
|
|
Loading…
Reference in a new issue