Marcus Rueckert
3bc831a403
allows us to also change the path for the stdlib part of the ruby directory tree OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=20
19 lines
622 B
Diff
19 lines
622 B
Diff
Index: configure.in
|
|
===================================================================
|
|
--- configure.in.orig
|
|
+++ configure.in
|
|
@@ -1757,7 +1757,12 @@ case "$target_os" in
|
|
rubyw_install_name="$RUBYW_INSTALL_NAME"
|
|
;;
|
|
esac
|
|
-RUBY_LIB_PREFIX=`eval echo \\"${libdir}/ruby\\"`
|
|
+
|
|
+AC_ARG_WITH(rubylibdir,
|
|
+ [ --with-rubylibdir=DIR stdlib libraries in DIR [[LIBDIR/ruby]]],
|
|
+ [rubylibdir=$withval],
|
|
+ [rubylibdir='${libdir}/ruby'])
|
|
+RUBY_LIB_PREFIX=`eval echo \\"${rubylibdir}\\"`
|
|
|
|
AC_ARG_WITH(sitedir,
|
|
[ --with-sitedir=DIR site libraries in DIR [[LIBDIR/ruby/site_ruby]]],
|