SHA256
3
0
forked from pool/cmake

Accepting request 120949 from home:coolo:branches:openSUSE:Factory

- vendor-specific does no longer exist with ruby 1.9, so don't use
  it to check vendor support

OBS-URL: https://build.opensuse.org/request/show/120949
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=89
This commit is contained in:
Ismail Dönmez 2012-05-14 14:31:24 +00:00 committed by Git OBS Bridge
parent 26c0802427
commit e38130c148
2 changed files with 19 additions and 0 deletions

13
cmake-fix-ruby-test.patch Normal file
View File

@ -0,0 +1,13 @@
Index: cmake-2.8.8/Modules/FindRuby.cmake
===================================================================
--- cmake-2.8.8.orig/Modules/FindRuby.cmake 2012-04-18 20:10:54.000000000 +0200
+++ cmake-2.8.8/Modules/FindRuby.cmake 2012-05-14 15:42:52.137253084 +0200
@@ -93,7 +93,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} -e "print 'true' unless Config::CONFIG['vendorarchdir'].blank?"
OUTPUT_VARIABLE RUBY_HAS_VENDOR_RUBY ERROR_QUIET)
IF(RUBY_HAS_VENDOR_RUBY)

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 14 13:43:06 UTC 2012 - coolo@suse.com
- vendor-specific does no longer exist with ruby 1.9, so don't use
it to check vendor support
-------------------------------------------------------------------
Tue Apr 24 15:11:45 UTC 2012 - idonmez@suse.com