SHA256
3
0
forked from pool/cmake

- fix the ruby test patch once more to also work with ruby 1.8

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=93
This commit is contained in:
Stephan Kulow 2012-05-30 09:51:26 +00:00 committed by Git OBS Bridge
parent 2fbe2e4311
commit 7b648ff1c4
2 changed files with 6 additions and 1 deletions

View File

@ -7,7 +7,7 @@ Index: cmake-2.8.8/Modules/FindRuby.cmake
# vendor_ruby available ?
- EXECUTE_PROCESS(COMMAND ${RUBY_EXECUTABLE} -r vendor-specific -e "print 'true'"
+ EXECUTE_PROCESS(COMMAND ${RUBY_EXECUTABLE} -e "print 'true' unless Config::CONFIG['vendorarchdir'].nil?"
+ 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)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 30 09:51:04 UTC 2012 - coolo@suse.com
- fix the ruby test patch once more to also work with ruby 1.8
-------------------------------------------------------------------
Mon May 14 13:43:06 UTC 2012 - coolo@suse.com