Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1
konkretcmpi
swig-classic.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File swig-classic.patch of Package konkretcmpi
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-konkretcmpi-0.9.0_35_g9729565/src/mof/python/CMakeLists.txt ./src/mof/python/CMakeLists.txt --- ../orig-konkretcmpi-0.9.0_35_g9729565/src/mof/python/CMakeLists.txt 2013-06-03 10:54:24.000000000 +0200 +++ ./src/mof/python/CMakeLists.txt 2013-07-26 11:51:20.315921312 +0200 @@ -6,15 +6,16 @@ find_package(PythonLibs REQUIRED) string(REGEX REPLACE "^([0-9]+\\.[0-9]+).*" "\\1" PYTHON_VER "${PYTHONLIBS_VERSION_STRING}") -include_directories(${PYTHON_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/..) +include_directories(${PYTHON_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/.. "/usr/include/python2.6") set(CMAKE_SWIG_FLAGS "-c++") set_source_files_properties(konkretmof.i PROPERTIES CPLUSPLUS ON) set_source_files_properties(konkretmof.i PROPERTIES SWIG_FLAGS "-includeall") +set_property(SOURCE konkretmof.i APPEND PROPERTY SWIG_FLAGS "-classic") swig_add_module(konkretmof python konkretmof.i) -swig_link_libraries(konkretmof ${PYTHON_LIBRARIES} konkretmof) +swig_link_libraries(konkretmof ${PYTHON_LIBRARIES} pthread util dl konkretmof) -install(TARGETS ${SWIG_MODULE_konkretmof_REAL_NAME} DESTINATION lib${LIB_SUFFIX}/python${PYTHON_VER}/site-packages) -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/konkretmof.py DESTINATION lib${LIB_SUFFIX}/python${PYTHON_VER}/site-packages) +install(TARGETS ${SWIG_MODULE_konkretmof_REAL_NAME} DESTINATION lib${LIB_SUFFIX}/python2.6/site-packages) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/konkretmof.py DESTINATION lib${LIB_SUFFIX}/python2.6/site-packages)
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