freebsd-ports/lang/ruby19/files/patch-configure
Stanislav Sedov 088f03a6fa - Use correct library dir.
Reported by:	Andrew <refresh.xss@gmail.com>
2009-02-11 00:47:29 +00:00

20 lines
768 B
Text

--- configure.orig 2009-01-30 18:26:04.000000000 +0300
+++ configure 2009-02-11 03:22:46.000000000 +0300
@@ -20418,7 +20418,7 @@
if test x"$enable_pthread" = xyes; then
- for pthread_lib in thr pthread pthreads c c_r root; do
+ for pthread_lib in pthread thr pthreads c c_r root; do
as_ac_Lib=`$as_echo "ac_cv_lib_$pthread_lib''_pthread_kill" | $as_tr_sh`
{ $as_echo "$as_me:$LINENO: checking for pthread_kill in -l$pthread_lib" >&5
$as_echo_n "checking for pthread_kill in -l$pthread_lib... " >&6; }
@@ -22406,7 +22406,7 @@
rubyw_install_name="$RUBYW_INSTALL_NAME"
;;
esac
-RUBY_LIB_PREFIX=`eval echo \\"${libdir}/${RUBY_INSTALL_NAME}\\"`
+RUBY_LIB_PREFIX=`eval echo \\"${libdir}/ruby\\"`
# Check whether --with-ruby-version was given.