[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#61391] [PATCH 5/6] gnu: icedove: Use more gexps.
From: |
Maxim Cournoyer |
Subject: |
[bug#61391] [PATCH 5/6] gnu: icedove: Use more gexps. |
Date: |
Thu, 9 Feb 2023 11:37:42 -0500 |
* gnu/packages/gnuzilla.scm (icedove)
[configure]: Use search-input-file and this-package-native-input.
---
gnu/packages/gnuzilla.scm | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 44e56a6573..ecb8edd914 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1246,7 +1246,8 @@ (define-public icedove
(string-drop hash 8))))))
(delete 'bootstrap)
(replace 'configure
- (lambda* (#:key inputs configure-flags #:allow-other-keys)
+ (lambda* (#:key native-inputs inputs configure-flags
+ #:allow-other-keys)
(let* ((bash (which "bash"))
(abs-srcdir (getcwd))
(srcdir (string-append "../" (basename abs-srcdir)))
@@ -1298,9 +1299,12 @@ (define-public icedove
"ac_add_options --enable-system-ffi\n"
"ac_add_options --enable-system-pixman\n"
"ac_add_options --prefix=" #$output "\n"
- "ac_add_options --with-clang-path=" (assoc-ref
%build-inputs "clang") "/bin/clang\n"
+ "ac_add_options --with-clang-path="
+ (search-input-file (or native-inputs inputs)
+ "bin/clang") "\n"
"ac_add_options --with-distribution-id=org.gnu\n"
- "ac_add_options --with-libclang-path=" (assoc-ref
%build-inputs "clang") "/lib\n"
+ "ac_add_options --with-libclang-path="
+ #$(this-package-native-input "clang") "/lib\n"
"ac_add_options --with-system-bz2\n"
"ac_add_options --with-system-icu\n"
"ac_add_options --with-system-jpeg\n"
--
2.39.1
- [bug#61391] [PATCH 2/6] gnu: Add nspr-next., (continued)
- [bug#61391] [PATCH 2/6] gnu: Add nspr-next., Maxim Cournoyer, 2023/02/09
- [bug#61391] [PATCH 3/6] gnu: Add nss-next., Maxim Cournoyer, 2023/02/09
- [bug#61391] [PATCH 4/6] gnu: icedove: Unbundle NSS., Maxim Cournoyer, 2023/02/09
- [bug#61391] [PATCH 0/6] Improvements to Icedove (icons, gexps, un-bundling), Morgan Smith, 2023/02/09
- [bug#61391] [PATCH 0/6] Improvements to Icedove (icons, gexps, un-bundling), Maxim Cournoyer, 2023/02/09
- [bug#61391] [PATCH 0/6] Improvements to Icedove (icons, gexps, un-bundling), Morgan Smith, 2023/02/10
- [bug#61391] [PATCH 0/6] Improvements to Icedove (icons, gexps, un-bundling), Maxim Cournoyer, 2023/02/10
- [bug#61391] [PATCH 0/6] Improvements to Icedove (icons, gexps, un-bundling), Morgan Smith, 2023/02/11
- bug#61391: [PATCH 0/6] Improvements to Icedove (icons, gexps, un-bundling), Maxim Cournoyer, 2023/02/13
[bug#61391] [PATCH 6/6] gnu: icedove: Install icons., Maxim Cournoyer, 2023/02/09
[bug#61391] [PATCH 5/6] gnu: icedove: Use more gexps.,
Maxim Cournoyer <=