mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: tzdata: Keep using the "fat" tzdata file format.
* gnu/packages/base.scm (tzdata)[arguments]: In #:make-flags, pass CPPFLAGS to preserve the same on-disk format as earlier releases.
This commit is contained in:
parent
2e8a9db6ef
commit
fce5ce77d0
1 changed files with 11 additions and 1 deletions
|
@ -1240,7 +1240,7 @@ (define-public tzdata
|
|||
"02g88pbw82zr36x9dz5ib4sq6bfq253yx5hbhnfyhp143naky1cv"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f
|
||||
`(#:tests? #f
|
||||
#:make-flags (let ((out (assoc-ref %outputs "out"))
|
||||
(tmp (getenv "TMPDIR")))
|
||||
(list (string-append "TOPDIR=" out)
|
||||
|
@ -1252,6 +1252,16 @@ (define-public tzdata
|
|||
(string-append "LIBDIR=" tmp "/lib")
|
||||
(string-append "MANDIR=" tmp "/man")
|
||||
|
||||
;; XXX: tzdata 2020b changed the on-disk format
|
||||
;; of the time zone files from 'fat' to 'slim'.
|
||||
;; Many packages (particularly evolution-data-server)
|
||||
;; can not yet handle the latter, so we stick with
|
||||
;; 'fat' for now.
|
||||
,@(if (version>=? (package-version this-package)
|
||||
"2020b")
|
||||
'("CPPFLAGS=-DZIC_BLOAT_DEFAULT='\"fat\"'")
|
||||
'())
|
||||
|
||||
"AWK=awk"
|
||||
"CC=gcc"))
|
||||
#:modules ((guix build utils)
|
||||
|
|
Loading…
Reference in a new issue