aboutsummaryrefslogtreecommitdiff
path: root/irc/weechat-devel/files/patch-cmake-FindRuby_cmake
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-01-27 01:04:15 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-01-27 01:04:15 +0000
commit323547c8f879fdfd655e5aedd5d6752b1b9038d9 (patch)
tree3ad4224aac23af0146b8f60f43afcc154f70d7d4 /irc/weechat-devel/files/patch-cmake-FindRuby_cmake
parentb236573620a314ed7ee5f870eb06fc1cf4bba012 (diff)
- Update to 0.3.1
- Change port to use cmake instead of make/configure/autotools, - ChangeLog : http://www.weechat.org/files/changelog/ChangeLog-0.3.1.html PR: 143128 Submitted by: Jase Thew <freebsd@beardz.net>
Notes
Notes: svn path=/head/; revision=248652
Diffstat (limited to 'irc/weechat-devel/files/patch-cmake-FindRuby_cmake')
-rw-r--r--irc/weechat-devel/files/patch-cmake-FindRuby_cmake26
1 files changed, 26 insertions, 0 deletions
diff --git a/irc/weechat-devel/files/patch-cmake-FindRuby_cmake b/irc/weechat-devel/files/patch-cmake-FindRuby_cmake
new file mode 100644
index 000000000000..fa8fba70ed7d
--- /dev/null
+++ b/irc/weechat-devel/files/patch-cmake-FindRuby_cmake
@@ -0,0 +1,26 @@
+--- cmake/FindRuby.cmake.orig 2010-01-05 21:12:22.000000000 +0000
++++ cmake/FindRuby.cmake 2010-01-05 21:14:40.000000000 +0000
+@@ -35,7 +35,7 @@
+
+ IF(RUBY_EXECUTABLE)
+ EXECUTE_PROCESS(
+- COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['rubyhdrdir'] || Config::CONFIG['archdir']"
++ COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['topdir']"
+ OUTPUT_VARIABLE RUBY_ARCH_DIR
+ )
+
+@@ -45,12 +45,12 @@
+ )
+
+ EXECUTE_PROCESS(
+- COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['libdir']"
++ COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::TOPDIR + '/lib'"
+ OUTPUT_VARIABLE RUBY_POSSIBLE_LIB_PATH
+ )
+
+ EXECUTE_PROCESS(
+- COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::CONFIG['rubylibdir']"
++ COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "puts Config::TOPDIR + '/lib/ruby/' + Config::CONFIG['ruby_version']"
+ OUTPUT_VARIABLE RUBY_RUBY_LIB_PATH
+ )
+