me
/
guix
Archived
1
0
Fork 0

gnu: r-haven: Fix build.

* gnu/packages/cran.scm (r-haven)[arguments]: Adjust 'unbundle-readstat phase.

Reported-by: Jonas Freimuth.
Ricardo Wurmus 2022-05-31 15:15:34 +02:00
parent 098d0012f5
commit 3d5144db5a
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 6 additions and 3 deletions

View File

@ -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 were not building readstat. ;; Were 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