aboutsummaryrefslogtreecommitdiff
path: root/x11-themes/kf5-breeze-icons/files
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2020-10-16 13:26:03 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2020-10-16 13:26:03 +0000
commit3ced73c5a6ccda23a1617110752ea4f962c2d9c1 (patch)
tree145116214de73978d9bc057cccd9ae2cbe781b9f /x11-themes/kf5-breeze-icons/files
parent3a9294916cf7d16d234ff95f1c554f87b8d19e6d (diff)
downloadports-3ced73c5a6ccda23a1617110752ea4f962c2d9c1.tar.gz
ports-3ced73c5a6ccda23a1617110752ea4f962c2d9c1.zip
x11-themes/kf5-breeze-icons: help cmake find the proper python3
Reported by: VVD
Notes
Notes: svn path=/head/; revision=552508
Diffstat (limited to 'x11-themes/kf5-breeze-icons/files')
-rw-r--r--x11-themes/kf5-breeze-icons/files/patch-CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/x11-themes/kf5-breeze-icons/files/patch-CMakeLists.txt b/x11-themes/kf5-breeze-icons/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..52434680ab3b
--- /dev/null
+++ b/x11-themes/kf5-breeze-icons/files/patch-CMakeLists.txt
@@ -0,0 +1,17 @@
+--- CMakeLists.txt.orig 2020-10-04 09:45:37 UTC
++++ CMakeLists.txt
+@@ -25,11 +25,11 @@ include(GtkUpdateIconCache)
+ set(REQUIRED_QT_VERSION 5.12.0)
+
+ # Find Python 3
+-find_package (Python 3 COMPONENTS Interpreter)
++find_package (Python3 COMPONENTS Interpreter)
+
+-if(Python_FOUND)
++if(Python3_FOUND)
+ # Find lxml Python 3 module
+- exec_program(${Python_EXECUTABLE}
++ exec_program(${Python3_EXECUTABLE}
+ ARGS "-c \"import lxml; print(lxml.get_include())\""
+ RETURN_VALUE LXML_NOT_FOUND # Returns 0 or false if successful
+ )