gnu: perl: Enable threading support.
* gnu/packages/perl.scm (perl)[arguments]: Configure with '-Dusethreads'. * gnu/packages/commencement.scm (perl-boot0)[arguments]: Omit inherited '-Dusethreads' flag during configure. Co-authored-by: Ludovic Courtès <ludo@gnu.org>master
parent
56ee1d2015
commit
156c0810e9
|
@ -284,7 +284,11 @@
|
|||
(lambda _
|
||||
(substitute* "Configure"
|
||||
(("^libswanted=(.*)pthread" _ before)
|
||||
(string-append "libswanted=" before)))))))))))))
|
||||
(string-append "libswanted=" before)))))))
|
||||
;; Do not configure with '-Dusethreads' since pthread
|
||||
;; support is missing.
|
||||
((#:configure-flags configure-flags)
|
||||
`(delete "-Dusethreads" ,configure-flags))))))))
|
||||
(package-with-bootstrap-guile
|
||||
(package-with-explicit-inputs perl
|
||||
%boot0-inputs
|
||||
|
|
|
@ -73,7 +73,8 @@
|
|||
"-Dinstallstyle=lib/perl5"
|
||||
"-Duseshrplib"
|
||||
(string-append "-Dlocincpth=" libc "/include")
|
||||
(string-append "-Dloclibpth=" libc "/lib")))
|
||||
(string-append "-Dloclibpth=" libc "/lib")
|
||||
"-Dusethreads"))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'configure 'setup-configure
|
||||
|
|
Reference in New Issue