me
/
guix
Archived
1
0
Fork 0

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>
master
Nikolay Korotkiy 2021-12-27 18:02:04 +03:00 committed by Leo Famulari
parent 4db16b9cbc
commit d42718f8ea
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 7 additions and 1 deletions

View File

@ -517,7 +517,13 @@ fully fledged Spatial SQL capabilities.")
"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