Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
security:zeek
zeek-nightly
install-symlink-old-cmake.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File install-symlink-old-cmake.patch of Package zeek-nightly
--- auxil/zeekctl/cmake/InstallSymlink.cmake-orig +++ auxil/zeekctl/cmake/InstallSymlink.cmake @@ -17,25 +17,17 @@ macro(InstallSymlink _filepath _sympath) get_filename_component(_symname ${_sympath} NAME) get_filename_component(_installdir ${_sympath} PATH) - if (BINARY_PACKAGING_MODE) - execute_process(COMMAND "${CMAKE_COMMAND}" -E create_symlink - ${_filepath} - ${CMAKE_CURRENT_BINARY_DIR}/${_symname}) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_symname} - DESTINATION ${_installdir}) - else () - # scripting the symlink installation at install time should work - # for CMake 2.6.x and 2.8.x - install(CODE " - if (\"\$ENV{DESTDIR}\" STREQUAL \"\") - execute_process(COMMAND \"${CMAKE_COMMAND}\" -E create_symlink - ${_filepath} - ${_installdir}/${_symname}) - else () - execute_process(COMMAND \"${CMAKE_COMMAND}\" -E create_symlink - ${_filepath} - \$ENV{DESTDIR}/${_installdir}/${_symname}) - endif () - ") - endif () + # scripting the symlink installation at install time should work + # for CMake 2.6.x and 2.8.x + install(CODE " + if (\"\$ENV{DESTDIR}\" STREQUAL \"\") + execute_process(COMMAND \"${CMAKE_COMMAND}\" -E create_symlink + ${_filepath} + ${_installdir}/${_symname}) + else () + execute_process(COMMAND \"${CMAKE_COMMAND}\" -E create_symlink + ${_filepath} + \$ENV{DESTDIR}/${_installdir}/${_symname}) + endif () + ") endmacro(InstallSymlink)
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