mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: swig: Fix build with Perl 5.26.0.
* gnu/packages/swig.scm (swig)[arguments]: Set PERL_USE_UNSAFE_INC in 'set-env' build phase.
This commit is contained in:
parent
0122a869ac
commit
503c8c5882
1 changed files with 8 additions and 0 deletions
|
@ -41,6 +41,14 @@ (define-public swig
|
|||
(base32
|
||||
"0kf99ygrjs5616gsqhz1l7bib3a12izmxi7g48bwblbymr3z9ybw"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-env
|
||||
;; Required since Perl 5.26.0's removal of the current
|
||||
;; working directory from @INC.
|
||||
;; TODO Try removing this for later versions of SWIG.
|
||||
(lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
|
||||
(native-inputs `(("boost" ,boost)
|
||||
("pcre" ,pcre "bin"))) ;for 'pcre-config'
|
||||
(inputs `(;; Provide these to run the corresponding tests.
|
||||
|
|
Loading…
Reference in a new issue