diff options
author | Marius Bakke <mbakke@fastmail.com> | 2017-03-26 09:10:30 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2017-03-26 09:16:04 +0200 |
commit | 5ac097e28c3b654ae7ae821e757599e1738e23aa (patch) | |
tree | d7acd4ce384392571df990a472c87f448ff72075 /gnu/packages/databases.scm | |
parent | 82654d956fd381cb10a7878758b25074636e757d (diff) | |
download | guix-5ac097e28c3b654ae7ae821e757599e1738e23aa.tar guix-5ac097e28c3b654ae7ae821e757599e1738e23aa.tar.gz |
gnu: libpqxx: Fix build with newer sed.
* gnu/packages/databases.scm (libpqxx)[arguments]: Add 'fix-sed-command' phase
that corrects a typo in the configure script.
Diffstat (limited to 'gnu/packages/databases.scm')
-rw-r--r-- | gnu/packages/databases.scm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 8b01a2f01b..be92c416fb 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -1349,7 +1349,15 @@ trees (LSM), for sustained throughput under random insert workloads.") `(("python" ,python-2))) (inputs `(("postgresql" ,postgresql))) (arguments - `(#:tests? #f)) ; # FAIL: 1 + `(#:tests? #f ; # FAIL: 1 + #:phases + (modify-phases %standard-phases + (add-before 'configure 'fix-sed-command + (lambda _ + ;; Newer sed versions error out if double brackets are not used. + (substitute* "configure" + (("\\[:space:\\]") "[[:space:]]")) + #t))))) (synopsis "C++ connector for PostgreSQL") (description "Libpqxx is a C++ library to enable user programs to communicate with the |