summaryrefslogtreecommitdiff
path: root/databases/tokyotyrant/patches/patch-ab
blob: 10d098dc46b9dbf097f9656d354282c29dbf6acd (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
$NetBSD: patch-ab,v 1.6 2009/03/21 05:36:53 obache Exp $

Avoid to break pkgsrc's tools.

--- configure.orig	2009-03-10 02:09:03.000000000 +0000
+++ configure
@@ -1746,12 +1746,9 @@ MYLDLIBPATHENV="LD_LIBRARY_PATH"
 MYPOSTCMD="true"
 
 # Building paths
-PATH="$PATH:$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
-PATH="$PATH:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/xpg4/bin:/usr/xpg6/bin:/usr/ucb"
 CPATH="$HOME/include:/usr/local/include:$CPATH"
 LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LIBRARY_PATH"
 LD_LIBRARY_PATH="$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH"
-PKG_CONFIG_PATH="$HOME/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
 export PATH CPATH LIBRARY_PATH LD_LIBRARY_PATH PKG_CONFIG_PATH
 if type pkg-config > /dev/null 2>&1
 then
@@ -4433,7 +4430,7 @@ _ACEOF
 
 fi
 
-if test "$enable_lua" == "yes"
+if test "$enable_lua" = "yes"
 then
 
 { echo "$as_me:$LINENO: checking for main in -llua" >&5
@@ -5300,7 +5297,7 @@ echo "$as_me: error: tcutil.h is require
 fi
 
 
-if test "$enable_lua" == "yes"
+if test "$enable_lua" = "yes"
 then
   if test "${ac_cv_header_lua_h+set}" = set; then
   { echo "$as_me:$LINENO: checking for lua.h" >&5