openbsd-ports/lang/ruby/patches/patch-configure
bernd b2be6681a6 Update to ruby-1.8.5.
See http://eigenclass.org/hiki.rb?ruby+1.8.5+changelog for a summary of
changes.

tested by krw@
ok msf@, sturm@
2006-10-02 07:48:08 +00:00

22 lines
710 B
Plaintext

$OpenBSD: patch-configure,v 1.2 2006/10/02 07:48:08 bernd Exp $
--- configure.orig Fri Aug 25 10:34:16 2006
+++ configure Fri Sep 1 12:14:56 2006
@@ -18967,7 +18967,7 @@ if test "$enable_shared" = 'yes'; then
;;
openbsd*)
SOLIBS='$(LIBS)'
- LIBRUBY_SO='lib$(RUBY_INSTALL_NAME).so.$(MAJOR).'`expr ${MINOR} \* 10 + ${TEENY}`
+ LIBRUBY_SO='lib$(RUBY_INSTALL_NAME).so.'${LIBruby_VERSION}
;;
solaris*)
SOLIBS='$(LIBS)'
@@ -19211,7 +19211,7 @@ else
sitedir='${prefix}/lib/ruby/site_ruby'
fi
-SITE_DIR="`eval \"echo ${sitedir}\"`"
+SITE_DIR="`eval echo ${sitedir}`"
case "$target_os" in
cygwin*|mingw*|*djgpp*|os2-emx*)
RUBY_SITE_LIB_PATH="`expr "$SITE_DIR" : "$prefix\(/.*\)"`" ||