~ruther/guix-local

5ac097e28c3b654ae7ae821e757599e1738e23aa — Marius Bakke 9 years ago 82654d9
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.
1 files changed, 9 insertions(+), 1 deletions(-)

M gnu/packages/databases.scm
M gnu/packages/databases.scm => gnu/packages/databases.scm +9 -1
@@ 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