summaryrefslogtreecommitdiff
path: root/databases/sqlrelay/patches/patch-configure
blob: 1a0e12f4c0399e467c2c042d9bdb18ee482aff09 (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.4 2015/09/02 12:39:33 fhajny Exp $

Look for history/readline at proper places.
--- configure.orig	2015-08-16 02:25:15.000000000 +0000
+++ configure
@@ -17662,7 +17662,7 @@ fi
 $as_echo_n "checking for history... " >&6; }
 
 
-SEARCHPATH=/usr
+SEARCHPATH=${prefix}
 NAME=history
 HEADER=readline/history.h
 LIBNAME=history
@@ -17998,7 +17998,7 @@ fi
 $as_echo_n "checking for readline... " >&6; }
 
 
-SEARCHPATH=/usr
+SEARCHPATH=${prefix}
 NAME=readline
 HEADER=readline/readline.h
 LIBNAME=readline
@@ -18606,7 +18606,7 @@ rm -f core conftest.err conftest.$ac_obj
 
 
 
-SEARCHPATH=/usr
+SEARCHPATH=${prefix}
 NAME=iconv
 HEADER=iconv.h
 LIBNAME=iconv
@@ -33144,7 +33144,7 @@ print CONFIG["arch"]
 print "\n"
 print "ruby_version = "
 begin
-print Config::CONFIG["ruby_version"]
+print RbConfig::CONFIG["ruby_version"]
 rescue
 print CONFIG["ruby_version"]
 end