2022-04-04 16:15:10 +02:00
|
|
|
# PATCH-FIX-UPSTREAM mapserver-7.6.1-fix_python_install_path.patch fixing python installation path badly defaulting to arch independent location
|
|
|
|
|
|
|
|
There is a _mapserver.so file, which means the installation has to happen to sitearch.
|
|
|
|
This patch makes it so (i.e. installation to /usr/lib64/python... rather than
|
|
|
|
/usr/lib/python...)
|
|
|
|
|
2022-03-08 12:44:11 +01:00
|
|
|
diff -Nur mapserver-7.6.3/mapscript/python/CMakeLists.txt new/mapscript/python/CMakeLists.txt
|
|
|
|
--- mapserver-7.6.3/mapscript/python/CMakeLists.txt 2021-04-30 23:26:25.000000000 +0200
|
|
|
|
+++ new/mapscript/python/CMakeLists.txt 2021-05-31 20:53:16.269084059 +0200
|
|
|
|
@@ -146,7 +146,7 @@
|
2020-09-08 10:40:59 +02:00
|
|
|
endif()
|
|
|
|
|
|
|
|
execute_process(
|
|
|
|
- COMMAND ${PYTHON_EXECUTABLE} setup.py install \${PYTHON_ROOT} \${PYTHON_PREFIX}
|
|
|
|
+ COMMAND ${PYTHON_EXECUTABLE} setup.py install --install-lib=${PYTHON_SITE_PACKAGES} \${PYTHON_ROOT} \${PYTHON_PREFIX}
|
|
|
|
WORKING_DIRECTORY ${OUTPUT_FOLDER}
|
|
|
|
)
|
|
|
|
"
|