Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:phprus:compat:suse:tools
cmake.326031
cmake-fix-ruby-test.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cmake-fix-ruby-test.patch of Package cmake.326031
Index: cmake-3.26.2/Modules/FindRuby.cmake =================================================================== --- cmake-3.26.2.orig/Modules/FindRuby.cmake +++ cmake-3.26.2/Modules/FindRuby.cmake @@ -313,7 +313,7 @@ if(Ruby_EXECUTABLE AND NOT Ruby_VERSION_ _RUBY_CONFIG_VAR("sitelibdir" Ruby_SITELIB_DIR) # vendor_ruby available ? - execute_process(COMMAND ${Ruby_EXECUTABLE} -r vendor-specific -e "print 'true'" + execute_process(COMMAND ${Ruby_EXECUTABLE} -r rbconfig -e "print 'true' unless RbConfig::CONFIG['vendorarchdir'].nil?" OUTPUT_VARIABLE Ruby_HAS_VENDOR_RUBY ERROR_QUIET) if(Ruby_HAS_VENDOR_RUBY)
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