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:
parent
82654d956f
commit
5ac097e28c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue