ruby-changes:10522
From: nobu <ko1@a...>
Date: Thu, 5 Feb 2009 16:18:26 +0900 (JST)
Subject: [ruby-changes:10522] Ruby:r22076 (trunk): * configure.in (RUBY_SITE_LIB_PATH, RUBY_VENDOR_LIB_PATH): fix for
nobu 2009-02-05 16:18:15 +0900 (Thu, 05 Feb 2009) New Revision: 22076 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22076 Log: * configure.in (RUBY_SITE_LIB_PATH, RUBY_VENDOR_LIB_PATH): fix for NetBSD. Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 22075) +++ configure.in (revision 22076) @@ -2048,11 +2048,13 @@ RUBY_VENDOR_LIB_PATH="`eval echo \\"$VENDOR_DIR\\" | sed 's|^NONE/|'"$prefix"'/|'`" ;; esac + +pat="$RUBY_LIB_PREFIX/"'\(.*\)' RUBY_LIB_PATH='RUBY_LIB_PREFIX"/"RUBY_LIB_VERSION' case "$RUBY_SITE_LIB_PATH" in dnl ( "$RUBY_LIB_PREFIX/"*) - RUBY_SITE_LIB_PATH='RUBY_LIB_PREFIX"/'"`expr \"$RUBY_SITE_LIB_PATH\" : \"$RUBY_LIB_PREFIX/\"'\(.*\)'`"'"' + RUBY_SITE_LIB_PATH='RUBY_LIB_PREFIX"/'"`expr \"$RUBY_SITE_LIB_PATH\" : \"$pat\"`"'"' ;; dnl ( *) @@ -2063,7 +2065,7 @@ case "$RUBY_VENDOR_LIB_PATH" in dnl ( "$RUBY_LIB_PREFIX/"*) - RUBY_VENDOR_LIB_PATH='RUBY_LIB_PREFIX"/'"`expr \"$RUBY_VENDOR_LIB_PATH\" : \"$RUBY_LIB_PREFIX/\"'\(.*\)'`"'"' + RUBY_VENDOR_LIB_PATH='RUBY_LIB_PREFIX"/'"`expr \"$RUBY_VENDOR_LIB_PATH\" : \"$pat\"`"'"' ;; dnl ( *) Index: ChangeLog =================================================================== --- ChangeLog (revision 22075) +++ ChangeLog (revision 22076) @@ -1,3 +1,8 @@ +Thu Feb 5 16:18:13 2009 Nobuyoshi Nakada <nobu@r...> + + * configure.in (RUBY_SITE_LIB_PATH, RUBY_VENDOR_LIB_PATH): fix for + NetBSD. + Thu Feb 5 16:04:29 2009 NAKAMURA Usaku <usa@r...> * win32/Makefile.sub (config.h): follow recent changes about paths. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/