[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50476] [PATCH 03/10] gnu: guile-dbi: Search for dbd libraries using
From: |
Arun Isaac |
Subject: |
[bug#50476] [PATCH 03/10] gnu: guile-dbi: Search for dbd libraries using native-search-paths. |
Date: |
Wed, 8 Sep 2021 20:24:06 +0530 |
* gnu/packages/guile-xyz.scm (guile-dbi)[arguments]: Do not set LDFLAGS and
RPATH in #:make-flags.
[inputs]: Remove guile-dbd-sqlite3 and guile-dbd-postgresql.
[native-search-paths]: Add LD_LIBRARY_PATH.
---
gnu/packages/guile-xyz.scm | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index c40eea07a9..e8a7fded14 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -1512,11 +1512,6 @@ library}.")
(list (string-append
"--with-guile-site-dir=" %output "/share/guile/site/"
(target-guile-effective-version (assoc-ref %build-inputs
"guile"))))
- #:make-flags
- (list (string-append
- "LDFLAGS=-Wl,-rpath=" %output "/lib:"
- (assoc-ref %build-inputs "guile-dbd-sqlite3") "/lib" ":"
- (assoc-ref %build-inputs "guile-dbd-postgresql") "/lib"))
#:phases
(modify-phases %standard-phases
(add-after 'install 'patch-extension-path
@@ -1529,9 +1524,6 @@ library}.")
(ext (string-append out "/lib/libguile-dbi")))
(substitute* dbi.scm (("libguile-dbi") ext))
#t))))))
- (inputs
- `(("guile-dbd-sqlite3" ,guile-dbd-sqlite3)
- ("guile-dbd-postgresql" ,guile-dbd-postgresql))) ; only shared library,
no scheme files
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
@@ -1547,7 +1539,11 @@ library}.")
SQL databases. Database programming with guile-dbi is generic in that the same
programming interface is presented regardless of which database system is used.
It currently supports MySQL, Postgres and SQLite3.")
- (license license:gpl2+)))
+ (license license:gpl2+)
+ (native-search-paths
+ (list (search-path-specification
+ (variable "LD_LIBRARY_PATH")
+ (files '("lib")))))))
(define guile-dbi-bootstrap
(package
--
2.33.0
- [bug#50476] [PATCH 00/10] Update guile-dbi and guile-dbd-*, Arun Isaac, 2021/09/08
- [bug#50476] [PATCH 01/10] gnu: guile-dbi: Update upstream source., Arun Isaac, 2021/09/08
- [bug#50476] [PATCH 05/10] gnu: guile-dbi: Update to 2.1.8., Arun Isaac, 2021/09/08
- [bug#50476] [PATCH 06/10] gnu: guile-dbd-sqlite3: Inherit from guile-dbi., Arun Isaac, 2021/09/08
- [bug#50476] [PATCH 10/10] gnu: guile-dbd-sqlite3: Use normal variable instead of @ reference., Arun Isaac, 2021/09/08
- [bug#50476] [PATCH 03/10] gnu: guile-dbi: Search for dbd libraries using native-search-paths.,
Arun Isaac <=
- [bug#50476] [PATCH 00/10] Update guile-dbi and guile-dbd-*, Ludovic Courtès, 2021/09/21
- [bug#50476] [PATCH 00/10] Update guile-dbi and guile-dbd-*, Arun Isaac, 2021/09/22
- [bug#50476] [PATCH 00/10] Update guile-dbi and guile-dbd-*, Ludovic Courtès, 2021/09/27
- [bug#50476] [PATCH v2 09/10] gnu: Add guile-dbd-mysql., Arun Isaac, 2021/09/30
- [bug#50476] [PATCH v2 01/10] gnu: guile-dbi: Update upstream source., Arun Isaac, 2021/09/30
- [bug#50476] [PATCH v2 02/10] gnu: guile-dbi: Remove hard-coded guile effective version., Arun Isaac, 2021/09/30
- [bug#50476] [PATCH v2 08/10] gnu: guile-dbi-bootstrap: Remove package., Arun Isaac, 2021/09/30
- [bug#50476] [PATCH v2 03/10] gnu: guile-dbi: Search for dbd libraries using native-search-paths., Arun Isaac, 2021/09/30
- [bug#50476] [PATCH v2 05/10] gnu: guile-dbi: Update to 2.1.8., Arun Isaac, 2021/09/30
- [bug#50476] [PATCH v2 06/10] gnu: guile-dbd-sqlite3: Inherit from guile-dbi., Arun Isaac, 2021/09/30