blob: c103c5f3fa09627c1c844811a301e4650cac3d11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
$NetBSD: patch-ad,v 1.4 2008/06/19 15:18:31 taca Exp $
--- rubynative/configure.orig 2007-12-25 01:53:40.000000000 +0000
+++ rubynative/configure
@@ -1233,27 +1233,6 @@ RDOC="rdoc"
MYRBLIBDIR=/usr/local/lib/ruby/site_ruby
MYRUNPATH=""
-# Building paths
-pathtmp="$PATH"
-PATH="..:$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
-PATH="$PATH:/usr/ccs/bin:/usr/ucb:/usr/xpg4/bin:/usr/xpg6/bin:$pathtmp"
-LIBRARY_PATH="..:$HOME/lib:/usr/local/lib:$LIBRARY_PATH"
-LD_LIBRARY_PATH="..:$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH"
-CPATH="..:$HOME/include:/usr/local/include:$CPATH"
-PKG_CONFIG_PATH="..:$HOME/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
-export PATH LIBRARY_PATH LD_LIBRARY_PATH CPATH PKG_CONFIG_PATH
-if type pkg-config > /dev/null 2>&1
-then
- PATH="$PATH:`pkg-config --variable=bindir qdbm`"
- PATH="$PATH:`pkg-config --variable=bindir hyperestraier`"
- LIBRARY_PATH="$LIBRARY_PATH:`pkg-config --variable=libdir qdbm`"
- LIBRARY_PATH="$LIBRARY_PATH:`pkg-config --variable=libdir hyperestraier`"
- LD_LIBRARY_PATH="$LD_LIBRARY_PATH:`pkg-config --variable=libdir qdbm`"
- LD_LIBRARY_PATH="$LD_LIBRARY_PATH:`pkg-config --variable=libdir hyperestraier`"
- CPATH="$CPATH:`pkg-config --variable=includedir qdbm`"
- CPATH="$CPATH:`pkg-config --variable=includedir hyperestraier`"
- export PATH LIBRARY_PATH LD_LIBRARY_PATH CPATH PKG_CONFIG_PATH
-fi
# Setting the default prefix
if test "$prefix" = NONE
@@ -1285,7 +1264,7 @@ fi
printf '%s\n' "$RDOC"
# Librarh path
-myrblibdir=`ruby -rrbconfig -e 'puts(Config::CONFIG.fetch("sitelibdir"))'`
+myrblibdir=`ruby -rrbconfig -e 'puts(Config::CONFIG.fetch("vendorarchdir"))'`
if test -n "$myrblibdir"
then
MYRBLIBDIR="$myrblibdir"
|