mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 10:18:09 -04:00
42 lines
893 B
Plaintext
42 lines
893 B
Plaintext
$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
|