gnu: bdb: Use invoke.
* gnu/packages/databases.scm (bdb, bdb-5.3)[arguments]: Use invoke in the custom configure phase.
This commit is contained in:
parent
13f5a0dc80
commit
5114c83a24
1 changed files with 30 additions and 32 deletions
|
@ -253,8 +253,7 @@ standard Go idioms.")
|
||||||
(("docdir[[:blank:]]*=.*")
|
(("docdir[[:blank:]]*=.*")
|
||||||
(string-append "docdir = " doc "/share/doc/bdb")))
|
(string-append "docdir = " doc "/share/doc/bdb")))
|
||||||
|
|
||||||
(zero?
|
(invoke "./dist/configure"
|
||||||
(system* "./dist/configure"
|
|
||||||
(string-append "--prefix=" out)
|
(string-append "--prefix=" out)
|
||||||
(string-append "CONFIG_SHELL=" (which "bash"))
|
(string-append "CONFIG_SHELL=" (which "bash"))
|
||||||
(string-append "SHELL=" (which "bash"))
|
(string-append "SHELL=" (which "bash"))
|
||||||
|
@ -269,7 +268,7 @@ standard Go idioms.")
|
||||||
;; The following flag is needed so that the inclusion
|
;; The following flag is needed so that the inclusion
|
||||||
;; of db_cxx.h into C++ files works; it leads to
|
;; of db_cxx.h into C++ files works; it leads to
|
||||||
;; HAVE_CXX_STDHEADERS being defined in db_cxx.h.
|
;; HAVE_CXX_STDHEADERS being defined in db_cxx.h.
|
||||||
"--enable-cxx"))))))))
|
"--enable-cxx")))))))
|
||||||
(synopsis "Berkeley database")
|
(synopsis "Berkeley database")
|
||||||
(description
|
(description
|
||||||
"Berkeley DB is an embeddable database allowing developers the choice of
|
"Berkeley DB is an embeddable database allowing developers the choice of
|
||||||
|
@ -307,8 +306,7 @@ SQL, Key/Value, XML/XQuery or Java Object storage for their data model.")
|
||||||
(("docdir[[:blank:]]*=.*")
|
(("docdir[[:blank:]]*=.*")
|
||||||
(string-append "docdir = " doc "/share/doc/bdb")))
|
(string-append "docdir = " doc "/share/doc/bdb")))
|
||||||
|
|
||||||
(zero?
|
(invoke "./dist/configure"
|
||||||
(system* "./dist/configure"
|
|
||||||
(string-append "--prefix=" out)
|
(string-append "--prefix=" out)
|
||||||
(string-append "CONFIG_SHELL=" (which "bash"))
|
(string-append "CONFIG_SHELL=" (which "bash"))
|
||||||
(string-append "SHELL=" (which "bash"))
|
(string-append "SHELL=" (which "bash"))
|
||||||
|
@ -328,7 +326,7 @@ SQL, Key/Value, XML/XQuery or Java Object storage for their data model.")
|
||||||
;; The following flag is needed so that the inclusion
|
;; The following flag is needed so that the inclusion
|
||||||
;; of db_cxx.h into C++ files works; it leads to
|
;; of db_cxx.h into C++ files works; it leads to
|
||||||
;; HAVE_CXX_STDHEADERS being defined in db_cxx.h.
|
;; HAVE_CXX_STDHEADERS being defined in db_cxx.h.
|
||||||
"--enable-cxx"))))))))))
|
"--enable-cxx")))))))))
|
||||||
|
|
||||||
(define-public es-dump-restore
|
(define-public es-dump-restore
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue