gnu: physfs: Update to 3.0.1.
* gnu/packages/game-development.scm (physfs): Update to 3.0.1. [arguments]: Add phase to ensure RUNPATH is set.
This commit is contained in:
parent
2495012709
commit
08e977d291
|
@ -518,7 +518,7 @@ sounds from presets such as \"explosion\" or \"powerup\".")
|
||||||
(define-public physfs
|
(define-public physfs
|
||||||
(package
|
(package
|
||||||
(name "physfs")
|
(name "physfs")
|
||||||
(version "2.0.3")
|
(version "3.0.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
|
@ -527,10 +527,18 @@ sounds from presets such as \"explosion\" or \"powerup\".")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0sbbyqzqhyf0g68fcvvv20n3928j0x6ik1njmhn1yigvq2bj11na"))))
|
"1wgj2zqpnfbnyyi1i7bq5pshcc9n5cvwlpzp8im67nb8662ryyxp"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f)) ; no check target
|
'(#:tests? #f ; no check target
|
||||||
|
#:phases (modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-CMakeLists.txt
|
||||||
|
(lambda _
|
||||||
|
(substitute* "CMakeLists.txt"
|
||||||
|
;; XXX: For some reason CMakeLists.txt disables
|
||||||
|
;; RUNPATH manipulation when the compiler is GCC.
|
||||||
|
(("CMAKE_COMPILER_IS_GNUCC") "FALSE"))
|
||||||
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("zlib" ,zlib)))
|
`(("zlib" ,zlib)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
|
Loading…
Reference in New Issue