- ruby-rubyprefix.patch: moved all arch-independent modules to
/usr/lib/ruby and keep arch-dependent modules in /usr/lib64/ruby for
64bit arch. so 'rubylibdir', 'sitelibdir' and 'sitedir' on
Config::CONFIG points to /usr/lib/ruby now. (#184199)
This commit is contained in:
parent
b89a099ea9
commit
38b1bf15b2
3 changed files with 137 additions and 44 deletions
|
|
@ -10,25 +10,3 @@ diff -ruN ruby-1.8.3.orig/mkconfig.rb ruby-1.8.3/mkconfig.rb
|
|||
print " TOPDIR = File.dirname(__FILE__).chomp!(#{prefix.dump})\n"
|
||||
print " DESTDIR = ", (drive ? "TOPDIR && TOPDIR[/\\A[a-z]:/i] || " : ""), "'' unless defined? DESTDIR\n"
|
||||
print " CONFIG = {}\n"
|
||||
diff -ruN ruby-1.8.3.orig/configure.in ruby-1.8.3/configure.in
|
||||
--- ruby-1.8.3.orig/configure.in 2005-09-07 08:22:56.000000000 +0900
|
||||
+++ ruby-1.8.3/configure.in 2005-09-26 17:46:53.000000000 +0900
|
||||
@@ -1424,15 +1424,15 @@
|
||||
RUBY_LIB_PREFIX="/lib/ruby"
|
||||
;;
|
||||
*)
|
||||
- RUBY_LIB_PREFIX="${prefix}/lib/ruby"
|
||||
+ RUBY_LIB_PREFIX="${libdir}/ruby"
|
||||
;;
|
||||
esac
|
||||
RUBY_LIB_PATH="${RUBY_LIB_PREFIX}/${MAJOR}.${MINOR}"
|
||||
|
||||
AC_ARG_WITH(sitedir,
|
||||
- [ --with-sitedir=DIR site libraries in DIR [PREFIX/lib/ruby/site_ruby]],
|
||||
+ [ --with-sitedir=DIR site libraries in DIR [LIBDIR/ruby/site_ruby]],
|
||||
[sitedir=$withval],
|
||||
- [sitedir='${prefix}/lib/ruby/site_ruby'])
|
||||
+ [sitedir='${libdir}/ruby/site_ruby'])
|
||||
SITE_DIR="`eval \"echo ${sitedir}\"`"
|
||||
case "$target_os" in
|
||||
cygwin*|mingw*|*djgpp*|os2-emx*)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue