From 7b648ff1c447f4416a93f388c8c60479a2f2a227840afc25ed00806a364226f4 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 30 May 2012 09:51:26 +0000 Subject: [PATCH] - 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 --- cmake-fix-ruby-test.patch | 2 +- cmake.changes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cmake-fix-ruby-test.patch b/cmake-fix-ruby-test.patch index 8731ab9..6be05c9 100644 --- a/cmake-fix-ruby-test.patch +++ b/cmake-fix-ruby-test.patch @@ -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) diff --git a/cmake.changes b/cmake.changes index 4b0456d..141939a 100644 --- a/cmake.changes +++ b/cmake.changes @@ -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