productivity/gnucash: don't pick up guile3 over guile2 if found
This commit is contained in:
parent
33c4f8ead4
commit
e5d73bdebb
15
productivity/gnucash/patches/patch-CMakeLists_txt
Normal file
15
productivity/gnucash/patches/patch-CMakeLists_txt
Normal file
|
@ -0,0 +1,15 @@
|
|||
disable guile3
|
||||
|
||||
Index: CMakeLists.txt
|
||||
--- CMakeLists.txt.orig
|
||||
+++ CMakeLists.txt
|
||||
@@ -278,7 +278,8 @@ string(REGEX MATCH "^[0-9]+[.]" SWIG_MAJOR ${SWIG_VERS
|
||||
# Look for guile versions in this order: 3.0 > 2.2 > 2.0
|
||||
|
||||
# guile library and include dir
|
||||
-pkg_check_modules (GUILE3 guile-3.0 QUIET)
|
||||
+#pkg_check_modules (GUILE3 guile-3.0 QUIET)
|
||||
+SET(GUILE3_FOUND FALSE)
|
||||
pkg_check_modules (GUILE22 guile-2.2 QUIET)
|
||||
pkg_check_modules (GUILE2 guile-2.0>=2.0.9 QUIET)
|
||||
|
Loading…
Reference in New Issue
Block a user