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