aboutsummaryrefslogtreecommitdiffstats
path: root/community/libkml/40-dont-bytecompile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/libkml/40-dont-bytecompile.patch')
-rw-r--r--community/libkml/40-dont-bytecompile.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/libkml/40-dont-bytecompile.patch b/community/libkml/40-dont-bytecompile.patch
new file mode 100644
index 0000000000..8fa4bff45d
--- /dev/null
+++ b/community/libkml/40-dont-bytecompile.patch
@@ -0,0 +1,16 @@
+Author: Holger Jaekel <holger.jaekel@gmx.de>
+Summary: Don't install bytecompiled python files
+----
+
+--- a/src/swig/CMakeLists.txt
++++ b/src/swig/CMakeLists.txt
+@@ -36,7 +36,6 @@ if(WITH_PYTHON)
+
+ install(FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/${MODULE_NAME}.py
+- ${CMAKE_CURRENT_BINARY_DIR}/${MODULE_NAME}.pyc
+ DESTINATION ${PYTHON_INSTALL_DIR})
+
+ endforeach()
+
+ endif(WITH_PYTHON)