[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: libpqxx: Fix build with newer sed.
From: |
Marius Bakke |
Subject: |
01/01: gnu: libpqxx: Fix build with newer sed. |
Date: |
Sun, 26 Mar 2017 03:18:13 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 5ac097e28c3b654ae7ae821e757599e1738e23aa
Author: Marius Bakke <address@hidden>
Date: Sun Mar 26 09:10:30 2017 +0200
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.
---
gnu/packages/databases.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 8b01a2f..be92c41 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