mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 14:52:05 -05:00
gnu: proj: Fix version number in CMake build scripts.
* gnu/packages/geo.scm (proj)[arguments]: Add a 'fix-version' build phase. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
4db16b9cbc
commit
d42718f8ea
1 changed files with 7 additions and 1 deletions
|
@ -517,7 +517,13 @@ (define-public proj
|
|||
"050apzdn0isxpsblys1shrl9ccli5vd32kgswlgx1imrbwpg915k"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags '("-DUSE_EXTERNAL_GTEST=ON")))
|
||||
`(#:configure-flags '("-DUSE_EXTERNAL_GTEST=ON")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-version
|
||||
(lambda _
|
||||
(substitute* "CMakeLists.txt"
|
||||
(("MAJOR 7 MINOR 2 PATCH 0") "MAJOR 7 MINOR 2 PATCH 1")))))))
|
||||
(inputs
|
||||
(list curl libjpeg-turbo libtiff sqlite))
|
||||
(native-inputs
|
||||
|
|
Loading…
Reference in a new issue