mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 03:45:24 -05:00
gnu: simgear: Remove bundled expat.
* gnu/packages/games.scm (simgear)[source]: Add snippet to remove bundled expat. [arguments]: Add configure-flag to use system expat.
This commit is contained in:
parent
ea173bd874
commit
d3abd5cd8b
1 changed files with 10 additions and 2 deletions
|
@ -9269,10 +9269,18 @@ (define simgear
|
|||
(version-major+minor version) "/"
|
||||
"simgear-" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32 "0g2g3n3sb6kdimvcrn9kvlhyyrp5c6lx20fgzz8l609v5aygr3dv"))))
|
||||
(base32 "0g2g3n3sb6kdimvcrn9kvlhyyrp5c6lx20fgzz8l609v5aygr3dv"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
;; There are some bundled libraries.
|
||||
(for-each delete-file-recursively
|
||||
'("3rdparty/expat/"))
|
||||
#t))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
`(#:configure-flags (list "-DSYSTEM_EXPAT=ON")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
|
|
Loading…
Reference in a new issue