guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/08: gnu: soci: Configure LIBDIR normally.


From: guix-commits
Subject: 02/08: gnu: soci: Configure LIBDIR normally.
Date: Mon, 9 Nov 2020 04:24:13 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 28da3c19c2f0110a479e42a38b44eb3cbb82af19
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Mon Nov 9 09:11:12 2020 +0100

    gnu: soci: Configure LIBDIR normally.
    
    * gnu/packages/databases.scm (soci)[arguments]: Add SOCI_LIBDIR
    to #:configure-flags instead of patching CMakeLists.txt.
---
 gnu/packages/databases.scm | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index d1c9abd..00283c4 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3909,15 +3909,9 @@ The drivers officially supported by @code{libdbi} are:
     (arguments
      `(#:configure-flags
        ;; C++11 (-DSOCI_CXX11) is OFF by default.  hyperledger-iroha needs it.
-       (list "-DCMAKE_CXX_STANDARD=17")
-       #:tests? #f           ; may require running database management systems
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'fix-lib-path
-           (lambda _
-             (substitute* "CMakeLists.txt"
-               (("set\\(SOCI_LIBDIR \"lib64\"\\)") ""))
-             #t)))))
+       (list "-DCMAKE_CXX_STANDARD=17"
+             "-DSOCI_LIBDIR=lib")
+       #:tests? #f))         ; may require running database management systems
     (synopsis "C++ Database Access Library")
     (description
      "SOCI is an abstraction layer for several database backends, including



reply via email to

[Prev in Thread] Current Thread [Next in Thread]