Disable octave trice again.
This commit is contained in:
parent
6cb47c9b83
commit
b8434f6847
11
mathgl-2.2-no_octave.patch
Normal file
11
mathgl-2.2-no_octave.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- CMakeLists.txt 2014-01-17 10:01:10.480156120 +0700
|
||||
+++ CMakeLists.txt-no_octave 2014-01-17 10:01:55.460539280 +0700
|
||||
@@ -97,6 +97,8 @@ MGL_DEPENDENT_OPTION(enable-python "Enab
|
||||
MGL_DEPENDENT_OPTION(enable-lua "Enable Lua (v.5.1) interface" OFF "NOT enable-lgpl" ON "NOT enable-all-swig" ON)
|
||||
MGL_DEPENDENT_OPTION(enable-octave "Enable octave interface" OFF "NOT enable-lgpl" ON "NOT enable-all-swig" ON)
|
||||
MGL_DEPENDENT_OPTION(enable-octave-install "Octave interface will install for all users" ON "NOT enable-lgpl" ON "NOT enable-all-swig" ON)
|
||||
+SET( enable-octave OFF )
|
||||
+SET( enable-octave-install OFF )
|
||||
|
||||
include_directories( ${MathGL_SOURCE_DIR}/include ${MathGL_BINARY_DIR}/include)
|
||||
set(MGL_INCLUDE_PATH "${CMAKE_INSTALL_PREFIX}/include/mgl2")
|
@ -23,6 +23,9 @@ Patch2: mathgl-2.2-disable-lib-installdir.patch
|
||||
# Install binaries for generation examples of illustrations
|
||||
Patch3: mathgl-2.2-examples.patch
|
||||
|
||||
# There is no easy way to disable ONLY octave. Have to cut it from CmakeList.txt
|
||||
Patch4: mathgl-2.2-no_octave.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Requires: %{name}-common = %{version}-%{release}
|
||||
|
Loading…
Reference in New Issue
Block a user