[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/50: gnu: icedtea-7: Bind INPUTS in 'patch-paths build phase.
From: |
guix-commits |
Subject: |
13/50: gnu: icedtea-7: Bind INPUTS in 'patch-paths build phase. |
Date: |
Thu, 23 Dec 2021 12:52:32 -0500 (EST) |
rekado pushed a commit to branch wip-java-bootstrap-simplify
in repository guix.
commit 7c59d9a1e1c09e2c1924afd11de8b148f3588a74
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Dec 17 22:19:17 2021 +0100
gnu: icedtea-7: Bind INPUTS in 'patch-paths build phase.
* gnu/packages/java.scm (icedtea-7)[arguments]: Bind INPUTS in 'patch-paths
build phase to remove references to %build-inputs.
---
gnu/packages/java.scm | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index be95299..46892ce 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1413,18 +1413,18 @@ bootstrapping purposes.")
"/include/X11/extensions"))
(("\\$\\(wildcard /usr/include/X11/extensions\\)\\)") ""))))
(add-after 'unpack 'patch-paths
- (lambda _
+ (lambda* (#:key inputs #:allow-other-keys)
;; buildtree.make generates shell scripts, so we need to replace
;; the generated shebang
(substitute*
'("openjdk.src/hotspot/make/linux/makefiles/buildtree.make")
(("/bin/sh") (which "bash")))
(let ((corebin (string-append
- (assoc-ref %build-inputs "coreutils") "/bin/"))
+ (assoc-ref inputs "coreutils") "/bin/"))
(binbin (string-append
- (assoc-ref %build-inputs "binutils") "/bin/"))
+ (assoc-ref inputs "binutils") "/bin/"))
(grepbin (string-append
- (assoc-ref %build-inputs "grep") "/bin/")))
+ (assoc-ref inputs "grep") "/bin/")))
(substitute*
'("openjdk.src/jdk/make/common/shared/Defs-linux.gmk"
"openjdk.src/corba/make/common/shared/Defs-linux.gmk")
(("UNIXCOMMAND_PATH = /bin/")
@@ -1435,7 +1435,7 @@ bootstrapping purposes.")
(string-append "DEVTOOLS_PATH = " corebin))
(("COMPILER_PATH *= */usr/bin/")
(string-append "COMPILER_PATH = "
- (assoc-ref %build-inputs "gcc") "/bin/"))
+ (assoc-ref inputs "gcc") "/bin/"))
(("DEF_OBJCOPY *=.*objcopy")
(string-append "DEF_OBJCOPY = " (which "objcopy"))))
@@ -1443,7 +1443,7 @@ bootstrapping purposes.")
(substitute* "openjdk.src/jdk/make/common/shared/Sanity.gmk"
(("ALSA_INCLUDE=/usr/include/alsa/version.h")
(string-append "ALSA_INCLUDE="
- (assoc-ref %build-inputs "alsa-lib")
+ (assoc-ref inputs "alsa-lib")
"/include/alsa/version.h")))
;; fix hard-coded utility paths
- 33/50: gnu: ecj-bootstrap: Use label-less input style., (continued)
- 33/50: gnu: ecj-bootstrap: Use label-less input style., guix-commits, 2021/12/23
- 49/50: gnu: axoloti-patcher-next: Remove trailing #T., guix-commits, 2021/12/23
- 27/50: gnu: ecj-javac-wrapper: Use G-Expression., guix-commits, 2021/12/23
- 40/50: gnu: java-kafka-clients: Use new input style., guix-commits, 2021/12/23
- 41/50: gnu: java-kafka-clients: Update to 1.1.1., guix-commits, 2021/12/23
- 44/50: gnu: java-mail: Use new input style., guix-commits, 2021/12/23
- 06/50: gnu: ecj-javac-wrapper-final: Use Guile 3., guix-commits, 2021/12/23
- 08/50: gnu: Add ecj4-bootstrap., guix-commits, 2021/12/23
- 10/50: gnu: Add jamvm-with-ecj4., guix-commits, 2021/12/23
- 11/50: gnu: icedtea-7: Run tests conditionally., guix-commits, 2021/12/23
- 13/50: gnu: icedtea-7: Bind INPUTS in 'patch-paths build phase.,
guix-commits <=
- 14/50: gnu: icedtea-7: Use system lcms and pcsc., guix-commits, 2021/12/23
- 26/50: gnu: ecj-bootstrap: Remove #:modules from arguments., guix-commits, 2021/12/23
- 32/50: gnu: ant-bootstrap: Use label-less input style., guix-commits, 2021/12/23
- 39/50: gnu: java-kafka-clients: Disable SSL test., guix-commits, 2021/12/23
- 31/50: gnu: jamvm-1-bootstrap: Use label-less input style., guix-commits, 2021/12/23
- 47/50: gnu: java-simple-xml: Disable one test., guix-commits, 2021/12/23
- 20/50: gnu: icedtea-8: Simplify source snippet., guix-commits, 2021/12/23
- 18/50: gnu: Remove icedtea-6., guix-commits, 2021/12/23
- 28/50: gnu: classpath-jamvm-wrappers: Use G-Expression., guix-commits, 2021/12/23
- 25/50: gnu: ecj-bootstrap: Remove trailing #T., guix-commits, 2021/12/23