File mathgl-fix-python-module-path.patch of Package mathgl

Index: mathgl-2.4.3/lang/CMakeLists.txt
===================================================================
--- mathgl-2.4.3.orig/lang/CMakeLists.txt
+++ mathgl-2.4.3/lang/CMakeLists.txt
@@ -39,7 +39,7 @@ if(enable-python)
 
 	include_directories(${PYTHON_INCLUDE_DIR}  ${NUMPY_INCLUDE_PATH})
 	execute_process(
-		COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(prefix='${CMAKE_INSTALL_PREFIX}')"
+		COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(get_python_lib(1),prefix='${CMAKE_INSTALL_PREFIX}')"
 		OUTPUT_VARIABLE MGL_PYTHON_SITE_PACKAGES
 		OUTPUT_STRIP_TRAILING_WHITESPACE)
 	set(SWIG_MODULE_mathgl_EXTRA_DEPS numpy.i ${src_imp_dep})