summaryrefslogtreecommitdiff
path: root/databases/sqlrelay/patches/patch-configure
blob: 78f432b93d2dd16604c055b4cc318e34c977daea (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-configure,v 1.3 2015/05/20 13:26:45 ryoon Exp $

Look for history/readline at proper places.
--- configure.orig	2015-04-08 22:16:40.000000000 +0000
+++ configure
@@ -17567,7 +17567,7 @@ fi
 $as_echo_n "checking for history... " >&6; }
 
 
-SEARCHPATH=/usr
+SEARCHPATH=${prefix}
 NAME=history
 HEADER=readline/history.h
 LIBNAME=history
@@ -17903,7 +17903,7 @@ fi
 $as_echo_n "checking for readline... " >&6; }
 
 
-SEARCHPATH=/usr
+SEARCHPATH=${prefix}
 NAME=readline
 HEADER=readline/readline.h
 LIBNAME=readline
@@ -18511,7 +18511,7 @@ rm -f core conftest.err conftest.$ac_obj
 
 
 
-SEARCHPATH=/usr
+SEARCHPATH=${prefix}
 NAME=iconv
 HEADER=iconv.h
 LIBNAME=iconv
@@ -32389,7 +32389,7 @@ print "arch = "
 print CONFIG["arch"]
 print "\n"
 print "ruby_version = "
-print Config::CONFIG["ruby_version"]
+print RbConfig::CONFIG["ruby_version"]
 print "\n"
 print "prefix = "
 print CONFIG["prefix"].sub(drive, "")