diff options
Diffstat (limited to 'lang/ruby18-base/patches/patch-ab')
-rw-r--r-- | lang/ruby18-base/patches/patch-ab | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/lang/ruby18-base/patches/patch-ab b/lang/ruby18-base/patches/patch-ab index e7845572039..11fd9813145 100644 --- a/lang/ruby18-base/patches/patch-ab +++ b/lang/ruby18-base/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.11 2008/06/19 14:35:37 taca Exp $ +$NetBSD: patch-ab,v 1.12 2008/06/20 15:39:29 taca Exp $ --- configure.orig 2008-06-09 18:38:04.000000000 +0900 +++ configure @@ -49,26 +49,3 @@ $NetBSD: patch-ab,v 1.11 2008/06/19 14:35:37 taca Exp $ fi LDFLAGS="-L. $LDFLAGS" -@@ -17563,18 +17582,15 @@ fi - VENDOR_DIR=`eval echo \\"${vendordir}\\"` - case "$target_os" in - cygwin*|mingw*|*djgpp*|os2-emx*) -- RUBY_VENDOR_LIB_PATH="`expr "$VENDOR_DIR" : "$prefix\(/.*\)"`" || -- RUBY_VENDOR_LIB_PATH="$VENDOR_DIR";; -+ RUBY_VENDOR_LIB_PATH="`eval echo "$VENDOR_DIR" | sed 's|^NONE/|/|;s|^'"$prefix"'/|/|'`" -+ ;; - *) -- RUBY_VENDOR_LIB_PATH="$VENDOR_DIR";; -+ RUBY_VENDOR_LIB_PATH="`eval echo \\"$VENDOR_DIR\\" | sed 's|^NONE/|'"$prefix"'/|'`" -+ ;; - esac - RUBY_VENDOR_LIB_PATH2="${RUBY_VENDOR_LIB_PATH}/${MAJOR}.${MINOR}" - - cat >>confdefs.h <<_ACEOF --#define RUBY_LIB "${RUBY_LIB_PATH}" --_ACEOF -- --cat >>confdefs.h <<_ACEOF - #define RUBY_VENDOR_LIB "${RUBY_VENDOR_LIB_PATH}" - _ACEOF - |