mathgl/mathgl-2.3.3-nooctaveinstall.patch
2015-12-09 17:36:04 +06:00

25 lines
965 B
Diff

--- lang/CMakeLists.txt 2015-11-24 12:36:50.203458528 +0600
+++ lang/CMakeLists.txt.octave 2015-12-05 11:55:39.729209345 +0600
@@ -125,12 +125,6 @@ message(STATUS "${oct_prog} ${oct_host}
)
add_custom_target(mgl_octave_module ALL DEPENDS mathgl.tar.gz)
- install(FILES ${CMAKE_BINARY_DIR}/lang/mathgl.tar.gz DESTINATION ${MGL_DATA_PATH})
- if(enable-octave-install)
- install(CODE "execute_process(
- COMMAND ${oct_exec} -q --eval \"pkg install mathgl.tar.gz\"
- WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/lang )")
- endif(enable-octave-install)
set(mgl_clean_files ${mgl_clean_files} mathgl)
endif(enable-octave)
set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${mgl_clean_files}")
--- lang/DESCRIPTION 2015-11-24 12:36:50.203458528 +0600
+++ lang/DESCRIPTION.newversion 2015-12-05 21:52:16.228784984 +0600
@@ -1,5 +1,5 @@
Name: mathgl
-Version: 2.0
+Version: 2.3.3
Date: 2011-08-23
Author: Alexey Balakin
Maintainer: Dmitry Kulagin