forked from pool/cmake
ba5c0f0076
Update to 3.0.0~rc1 (i'm guessing this one will need a staging for sure ;-) OBS-URL: https://build.opensuse.org/request/show/224366 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=141
12 lines
602 B
Diff
12 lines
602 B
Diff
--- cmake-3.0.0-rc1.orig/Modules/FindRuby.cmake 2014-02-26 16:41:21.000000000 +0100
|
|
+++ cmake-3.0.0-rc1/Modules/FindRuby.cmake 2014-03-01 02:17:02.602227025 +0100
|
|
@@ -113,7 +113,7 @@ if(RUBY_EXECUTABLE AND NOT RUBY_VERSIO
|
|
_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 Config::CONFIG['vendorarchdir'].nil?"
|
|
OUTPUT_VARIABLE RUBY_HAS_VENDOR_RUBY ERROR_QUIET)
|
|
|
|
if(RUBY_HAS_VENDOR_RUBY)
|