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.
This commit is contained in:
Marius Bakke 2017-03-26 09:10:30 +02:00
parent 82654d956f
commit 5ac097e28c
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 9 additions and 1 deletions

View File

@ -1349,7 +1349,15 @@ trees (LSM), for sustained throughput under random insert workloads.")
`(("python" ,python-2))) `(("python" ,python-2)))
(inputs `(("postgresql" ,postgresql))) (inputs `(("postgresql" ,postgresql)))
(arguments (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") (synopsis "C++ connector for PostgreSQL")
(description (description
"Libpqxx is a C++ library to enable user programs to communicate with the "Libpqxx is a C++ library to enable user programs to communicate with the