[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#72643] [PATCH core-updates 5/6] gnu: perl-boot0: Use gexps.
From: |
Ludovic Courtès |
Subject: |
[bug#72643] [PATCH core-updates 5/6] gnu: perl-boot0: Use gexps. |
Date: |
Thu, 15 Aug 2024 18:58:33 +0200 |
* gnu/packages/commencement.scm (perl-boot0)[arguments]: Use gexps.
Change-Id: I5c6358ce09a42bfb702d91325efa3ca81fe5494a
---
gnu/packages/commencement.scm | 40 +++++++++++++++++------------------
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index b31f976900..62bb2d6c96 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2464,27 +2464,27 @@ (define perl-boot0
(source (bootstrap-origin (package-source perl)))
(inputs (%boot0-inputs))
(arguments
- `(#:implicit-inputs? #f
- #:guile ,%bootstrap-guile
- #:validate-runpath? #f
+ (append (list #:implicit-inputs? #f
+ #:guile %bootstrap-guile
+ #:validate-runpath? #f
- ;; At the very least, this must not depend on GCC & co.
- #:disallowed-references ,(list %bootstrap-binutils)
-
- ,@(substitute-keyword-arguments (package-arguments perl)
- ((#:phases phases)
- `(modify-phases ,phases
- ;; Pthread support is missing in the bootstrap compiler
- ;; (broken spec file), so disable it.
- (add-before 'configure 'disable-pthreads
- (lambda _
- (substitute* "Configure"
- (("^libswanted=(.*)pthread" _ before)
- (string-append "libswanted=" before)))))))
- ;; Do not configure with '-Dusethreads' since pthread
- ;; support is missing.
- ((#:configure-flags configure-flags)
- `(delete "-Dusethreads" ,configure-flags)))))))
+ ;; At the very least, this must not depend on GCC & co.
+ #:disallowed-references (list %bootstrap-binutils))
+ (substitute-keyword-arguments (package-arguments perl)
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ ;; Pthread support is missing in the bootstrap compiler
+ ;; (broken spec file), so disable it.
+ (add-before 'configure 'disable-pthreads
+ (lambda _
+ (substitute* "Configure"
+ (("^libswanted=(.*)pthread" _ before)
+ (string-append "libswanted=" before)))))))
+ ;; Do not configure with '-Dusethreads' since pthread
+ ;; support is missing.
+ ((#:configure-flags configure-flags)
+ #~(delete "-Dusethreads"
+ #$configure-flags)))))))
(define m4-boot0
(package
--
2.45.2
- [bug#72643] [PATCH core-updates 0/6] Restore i586-gnu (GNU/Hurd) support, Ludovic Courtès, 2024/08/15
- [bug#72643] [PATCH core-updates 6/6] gnu: commencement: Build ‘perl-boot0’ without stack protector on the Hurd., Ludovic Courtès, 2024/08/15
- [bug#72643] [PATCH core-updates 4/6] DRAFT gnu: glibc-bootstrap: Update i586-gnu variant., Ludovic Courtès, 2024/08/15
- [bug#72643] [PATCH core-updates 1/6] gnu: make-bootstrap: Fix cross-compilation of ‘%glibc-stripped’., Ludovic Courtès, 2024/08/15
- [bug#72643] [PATCH core-updates 3/6] gnu: make-bootstrap: Include libdl.a and libutil.a in ‘glibc-stripped’., Ludovic Courtès, 2024/08/15
- [bug#72643] [PATCH core-updates 5/6] gnu: perl-boot0: Use gexps.,
Ludovic Courtès <=
- [bug#72643] [PATCH core-updates 2/6] gnu: make-bootstrap: Adjust ‘%glibc-stripped’ for glibc@2.39 on the Hurd., Ludovic Courtès, 2024/08/15
- [bug#72643] [PATCH core-updates 0/6] Restore i586-gnu (GNU/Hurd) support, Janneke Nieuwenhuizen, 2024/08/16