$OpenBSD: patch-configure_in,v 1.7 2010/09/23 22:10:28 jeremy Exp $
--- configure.in.orig	Wed Aug 13 14:21:52 2008
+++ configure.in	Mon Sep 13 13:02:05 2010
@@ -794,7 +794,7 @@ AC_MSG_RESULT($amarok_glibcsched_works)
 ###############################################################################
 
 KDE_CHECK_HEADER(konqsidebarplugin.h, have_konqsidebar=yes, have_konqsidebar=no)
-KDE_CHECK_LIB(konqsidebarplugin, _init, have_konqsidebar=$have_konqsidebar, have_konqsidebar=no)
+KDE_CHECK_LIB(konqsidebarplugin, _init, have_konqsidebar=$have_konqsidebar, have_konqsidebar=no, [-lstdc++ $LIBPTHREAD])
 
 AM_CONDITIONAL(with_konqsidebar, [test x$have_konqsidebar = xyes])
 
@@ -1160,7 +1160,7 @@ AC_CHECK_TYPES([uint8_t, u_int8_t, uint16_t, u_int16_t
 # BEGIN DAAP MONGREL RUBY VARIABLE
 ###############################################################################
 
-AC_PATH_PROG(RUBY, ruby, no)
+AC_PATH_PROG(RUBY, ruby18, no)
 
 ruby_includes=[`$RUBY -rrbconfig -e 'puts Config.expand( Config::MAKEFILE_CONFIG["archdir"] )'`]
 ruby_ldflags=[`$RUBY -rrbconfig -e 'puts Config.expand( Config::MAKEFILE_CONFIG["LIBRUBYARG_SHARED"] )'`]
