gnu: r-haven: Fix build.
* gnu/packages/cran.scm (r-haven)[arguments]: Adjust 'unbundle-readstat phase. Reported-by: Jonas Freimuth.
parent
098d0012f5
commit
3d5144db5a
|
@ -3493,9 +3493,12 @@ including functions for geolocation and routing.")
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'unbundle-readstat
|
(add-after 'unpack 'unbundle-readstat
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Not required, since we’re not building readstat.
|
;; We’re not building readstat.
|
||||||
(substitute* "src/Makevars"
|
(substitute* "configure"
|
||||||
(("-lz") "-lreadstat")))))))
|
(("exit 1") "")) ;don't be so dramatic!
|
||||||
|
(substitute* '("src/Makevars.in"
|
||||||
|
"configure")
|
||||||
|
(("^PKG_LIBS=.*") "PKG_LIBS=\"-lreadstat\"\n")))))))
|
||||||
(inputs
|
(inputs
|
||||||
(list readstat))
|
(list readstat))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
|
Reference in New Issue