[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49597] [PATCH core-updates 13/15] gnu: mozjs: Use 'which' where app
From: |
Ludovic Courtès |
Subject: |
[bug#49597] [PATCH core-updates 13/15] gnu: mozjs: Use 'which' where appropriate. |
Date: |
Fri, 16 Jul 2021 17:54:18 +0200 |
* gnu/packages/gnuzilla.scm (mozjs-52): Use 'which' for "autoconf".
(mozjs-60): Likewise.
(mozjs-78): Likewise.
---
gnu/packages/gnuzilla.scm | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index f7170dfc11..3f5b215746 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
-;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès
<ludo@gnu.org>
+;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic
Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Mark H Weaver
<mhw@netris.org>
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2016, 2017, 2018, 2019, 2021 Efraim Flashner
<efraim@flashner.co.il>
@@ -337,8 +337,7 @@ in C/C++.")
(let ((out (assoc-ref outputs "out")))
(setenv "SHELL" (which "sh"))
(setenv "CONFIG_SHELL" (which "sh"))
- (setenv "AUTOCONF" (string-append (assoc-ref inputs
"autoconf")
- "/bin/autoconf"))
+ (setenv "AUTOCONF" (which "autoconf"))
(apply invoke "./configure"
(cons (string-append "--prefix=" out)
configure-flags))))))))
@@ -394,8 +393,7 @@ in C/C++.")
(chdir "run-configure-from-here")
(setenv "SHELL" (which "sh"))
(setenv "CONFIG_SHELL" (which "sh"))
- (setenv "AUTOCONF" (string-append (assoc-ref inputs "autoconf")
- "/bin/autoconf"))
+ (setenv "AUTOCONF" (which "autoconf"))
(apply invoke "../js/src/configure"
(cons (string-append "--prefix=" out)
configure-flags))
@@ -476,8 +474,7 @@ in C/C++.")
(chdir "run-configure-from-here")
(setenv "SHELL" (which "sh"))
(setenv "CONFIG_SHELL" (which "sh"))
- (setenv "AUTOCONF" (string-append (assoc-ref inputs "autoconf")
- "/bin/autoconf"))
+ (setenv "AUTOCONF" (which "autoconf"))
(apply invoke "../js/src/configure"
(cons (string-append "--prefix=" out)
configure-flags))
--
2.32.0
- [bug#49597] [PATCH core-updates 07/15] gnu: Use 'search-input-file' when searching for Automake files., (continued)
- [bug#49597] [PATCH core-updates 07/15] gnu: Use 'search-input-file' when searching for Automake files., Ludovic Courtès, 2021/07/16
- [bug#49597] [PATCH core-updates 08/15] gnu: Use 'search-input-directory' for the Eigen header directory., Ludovic Courtès, 2021/07/16
- [bug#49597] [PATCH core-updates 09/15] gnu: Use 'search-input-directory' for glibc locale data., Ludovic Courtès, 2021/07/16
- [bug#49597] [PATCH core-updates 10/15] gnu: Use 'search-input-directory' when looking for C/C++ library headers., Ludovic Courtès, 2021/07/16
- [bug#49597] [PATCH core-updates 12/15] gnu: Use 'search-input-file' when looking for executables., Ludovic Courtès, 2021/07/16
- [bug#49597] [PATCH core-updates 11/15] gnu: Use 'search-input-file' when looking for *.so and *.a., Ludovic Courtès, 2021/07/16
- [bug#49597] [PATCH core-updates 15/15] gnu: Use 'search-input-directory' and 'search-input-file' where appropriate., Ludovic Courtès, 2021/07/16
- [bug#49597] [PATCH core-updates 14/15] gnu: Use 'search-input-file' when looking for .jar files., Ludovic Courtès, 2021/07/16
- [bug#49597] [PATCH core-updates 13/15] gnu: mozjs: Use 'which' where appropriate.,
Ludovic Courtès <=
[bug#49597] [PATCH core-updates 00/15] Ajust packages to label-less input style, Mathieu Othacehe, 2021/07/17
[bug#49597] [PATCH core-updates 00/15] Ajust packages to label-less input style, Maxime Devos, 2021/07/18
bug#49597: [PATCH core-updates 00/15] Ajust packages to label-less input style, Ludovic Courtès, 2021/07/24