mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: perl-boot0: Use gexps.
* gnu/packages/commencement.scm (perl-boot0)[arguments]: Use gexps. Change-Id: I5c6358ce09a42bfb702d91325efa3ca81fe5494a
This commit is contained in:
@@ -2464,27 +2464,27 @@ exec " gcc "/bin/" program
|
||||
(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
|
||||
|
||||
Reference in New Issue
Block a user