openbsd-ports/x11/kde/bindings3/patches/patch-configure_in
jeremy 848e9dff50 Handle changes caused by splitting the ruby port and bump
OK jcs@, landry@, jasper@, sthen@
2010-09-23 22:21:03 +00:00

33 lines
1.5 KiB
Plaintext

$OpenBSD: patch-configure_in,v 1.1 2010/09/23 22:24:50 jeremy Exp $
--- configure.in.orig Sun Sep 12 20:36:10 2010
+++ configure.in Sun Sep 12 20:38:04 2010
@@ -417,15 +417,15 @@ dnl ==================================================
dnl FILE: ./korundum/rubylib/korundum/configure.in.in
dnl =======================================================
-AC_CHECK_PROG(RUBY, ruby, ruby)
+AC_CHECK_PROG(RUBY, ruby18, ruby18)
if test -z "$RUBY"; then
DO_NOT_COMPILE="$DO_NOT_COMPILE korundum"
else
AC_MSG_CHECKING(for ruby dirs)
- RUBY_ARCHDIR=`ruby -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"archdir"@:>@)'`
- RUBY_SITEARCHDIR=`ruby -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitearchdir"@:>@)'`
- RUBY_SITEDIR=`ruby -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitelibdir"@:>@)'`
+ RUBY_ARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"archdir"@:>@)'`
+ RUBY_SITEARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitearchdir"@:>@)'`
+ RUBY_SITEDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitelibdir"@:>@)'`
AC_MSG_RESULT([archdir $RUBY_ARCHDIR, sitearchdir $RUBY_SITEARCHDIR, sitedir $RUBY_SITEDIR])
AC_SUBST(RUBY_ARCHDIR)
AC_SUBST(RUBY_SITEARCHDIR)
@@ -463,7 +463,7 @@ dnl ==================================================
dnl FILE: ./qtruby/rubylib/qtruby/configure.in.in
dnl =======================================================
-AC_CHECK_PROG(RUBY, ruby, ruby)
+AC_CHECK_PROG(RUBY, ruby18, ruby18)
if test -z "$RUBY"; then
DO_NOT_COMPILE="$DO_NOT_COMPILE qtruby"