diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index b7bd1f0..8262101 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -405,7 +405,19 @@ pictures, sounds, or video.") #:configure-flags (list (string-append "--with-bash-headers=" (assoc-ref %build-inputs "bash:include") - "/include/bash")))) + "/include/bash")) + + #:phases (modify-phases %standard-phases + (add-before 'build 'set-bash4.4-header-location + (lambda _ + ;; Adjust the header search path for Bash 4.4 + ;; in accordance with 'bash.pc'. + (substitute* "bash/Makefile.in" + (("AM_CPPFLAGS = (.*)$" _ rest) + (string-append "AM_CPPFLAGS = " rest + " -I$(BASH_HEADERS)/include" + "\n"))) + #t))))) (native-inputs `(("emacs" ,emacs-minimal) ("bc" ,bc)