Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
pfstools
pfstools-octinstall.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pfstools-octinstall.patch of Package pfstools
Index: pfstools-2.0.6/CMakeLists.txt =================================================================== --- pfstools-2.0.6.orig/CMakeLists.txt +++ pfstools-2.0.6/CMakeLists.txt @@ -278,8 +278,6 @@ OPTION(WITH_HDRVC "Compile HDRVC (intern OPTION(WITH_Octave "Compile Octave files" ON) -SET (OCTAVE_DEST_DIR "" CACHE PATH "Install octave .m and .oct files in this directory") - if( OCTAVE_DEST_DIR ) set( OCTAVE_OCT_DIR ${OCTAVE_DEST_DIR} ) set( OCTAVE_M_DIR ${OCTAVE_DEST_DIR} ) @@ -299,7 +297,8 @@ if( WITH_Octave ) if(MKOCTFILE) message(STATUS "mkoctfile found.") endif() - + execute_process(COMMAND octave-config --oct-site-dir OUTPUT_VARIABLE OCTAVE_OCT_DIR OUTPUT_STRIP_TRAILING_WHITESPACE) + execute_process(COMMAND octave-config --m-site-dir OUTPUT_VARIABLE OCTAVE_M_DIR OUTPUT_STRIP_TRAILING_WHITESPACE) endif( WITH_Octave ) # ======== OpenCV =========== Index: pfstools-2.0.6/src/octave/CMakeLists.txt =================================================================== --- pfstools-2.0.6.orig/src/octave/CMakeLists.txt +++ pfstools-2.0.6/src/octave/CMakeLists.txt @@ -40,11 +40,11 @@ endforeach(SRC) foreach(SRC ${SRC_OCT}) install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${SRC}.oct PERMISSIONS OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE OWNER_WRITE WORLD_READ GROUP_READ OWNER_READ - DESTINATION "${OCTAVE_OCT_DIR}") + DESTINATION "${OCTAVE_OCT_DIR}/pfstools") endforeach(SRC) foreach(SRC ${SRC_M}) - install (FILES ${SRC} DESTINATION "${OCTAVE_M_DIR}") + install (FILES ${SRC} DESTINATION "${OCTAVE_M_DIR}/pfstools") endforeach(SRC) install (FILES ${OCT_SCRIPTS}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor