Revert "gnu: perl: Add support for cross-compilation"
This reverts commit 5108c18e7e
, which was
accidentally committed.
master
parent
5108c18e7e
commit
fd95f37f36
|
@ -48,7 +48,6 @@
|
||||||
#:use-module (guix utils) ;substitute-keyword-arguments for perl-5.26.2
|
#:use-module (guix utils) ;substitute-keyword-arguments for perl-5.26.2
|
||||||
#:use-module (gnu packages base)
|
#:use-module (gnu packages base)
|
||||||
#:use-module (gnu packages compression)
|
#:use-module (gnu packages compression)
|
||||||
#:use-module (gnu packages cross-base)
|
|
||||||
#:use-module (gnu packages freedesktop)
|
#:use-module (gnu packages freedesktop)
|
||||||
#:use-module (gnu packages perl-check)
|
#:use-module (gnu packages perl-check)
|
||||||
#:use-module (gnu packages perl-web)
|
#:use-module (gnu packages perl-web)
|
||||||
|
@ -80,7 +79,7 @@
|
||||||
"perl-reproducible-build-date.patch"))))
|
"perl-reproducible-build-date.patch"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f
|
'(#:tests? #f
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
(let ((out (assoc-ref %outputs "out"))
|
(let ((out (assoc-ref %outputs "out"))
|
||||||
(libc (assoc-ref %build-inputs "libc")))
|
(libc (assoc-ref %build-inputs "libc")))
|
||||||
|
@ -129,10 +128,7 @@
|
||||||
(add-after 'install 'remove-extra-references
|
(add-after 'install 'remove-extra-references
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(libc (assoc-ref inputs
|
(libc (assoc-ref inputs "libc"))
|
||||||
(if ,(%current-target-system)
|
|
||||||
"cross-libc"
|
|
||||||
"libc")))
|
|
||||||
(config1 (car (find-files (string-append out "/lib/perl5")
|
(config1 (car (find-files (string-append out "/lib/perl5")
|
||||||
"^Config_heavy\\.pl$")))
|
"^Config_heavy\\.pl$")))
|
||||||
(config2 (find-files (string-append out "/lib/perl5")
|
(config2 (find-files (string-append out "/lib/perl5")
|
||||||
|
|
Loading…
Reference in New Issue