gnu: pcre: Use G-expression.
* gnu/packages/pcre.scm (pcre)[arguments]: Use gexp.master
parent
14cd7675a3
commit
438b63fcb3
|
@ -55,8 +55,9 @@
|
|||
"static")) ;1.8 MiB static libraries
|
||||
(inputs (list bzip2 readline zlib))
|
||||
(arguments
|
||||
`(#:disallowed-references ("doc")
|
||||
#:configure-flags '("--enable-utf"
|
||||
(list
|
||||
#:disallowed-references '("doc")
|
||||
#:configure-flags #~'("--enable-utf"
|
||||
"--enable-pcregrep-libz"
|
||||
"--enable-pcregrep-libbz2"
|
||||
"--enable-pcretest-libreadline"
|
||||
|
@ -65,15 +66,15 @@
|
|||
"--enable-pcre32"
|
||||
;; pcretest fails on powerpc32.
|
||||
;; riscv64-linux is an unsupported architecture.
|
||||
,@(if (or (target-ppc32?)
|
||||
(target-riscv64?))
|
||||
'()
|
||||
`("--enable-jit")))
|
||||
#:phases (modify-phases %standard-phases
|
||||
#$@(if (or (target-ppc32?) (target-riscv64?))
|
||||
#~()
|
||||
#~("--enable-jit")))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'install 'move-static-libs
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((source (string-append (assoc-ref outputs "out") "/lib"))
|
||||
(static (string-append (assoc-ref outputs "static") "/lib")))
|
||||
(lambda _
|
||||
(let ((source (string-append #$output "/lib"))
|
||||
(static (string-append #$output:static "/lib")))
|
||||
(mkdir-p static)
|
||||
(for-each (lambda (lib)
|
||||
(link lib (string-append static "/"
|
||||
|
|
Reference in New Issue