summaryrefslogtreecommitdiff
path: root/databases/lbdb/patches/patch-ab
blob: b2e706848a2ed887976b6d94b08a57d3d31ee873 (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
42
43
44
45
46
47
48
49
$NetBSD: patch-ab,v 1.2 2005/09/10 11:26:47 tonio Exp $

--- configure.orig	2005-04-30 21:23:23.000000000 +0200
+++ configure
@@ -3294,18 +3294,7 @@ if test "x$AWK" != "xNONE" ; then
 	AWK="$AWK"
 fi
 
-if test "x$NAWK" != "xNONE" ; then
-	AWK="$NAWK"
-fi
-
-if test "x$GAWK" != "xNONE" ; then
-	AWK="$GAWK"
-fi
-
-if test "x$MAWK" != "xNONE" ; then
-	AWK="$MAWK"
-fi
-
+#use the supplied awk
 
 
 # Extract the first word of "tac", so it can be a program name with args.
@@ -4604,6 +4593,12 @@ if test "x$PERL" != xno ; then
 
 fi
 
+# Check whether --with-osx-addressbook or --without-osx-addressbook was given.
+if test "${with_osx_addressbook+set}" = set; then
+  withval="$with_osx_addressbook"
+
+fi;
+    if test x$withval = xyes; then
 # m_osx_addressbook requires xcode (10.3) or projectbuilder (<10.3)
 # Extract the first word of "xcodebuild", so it can be a program name with args.
 set dummy xcodebuild; ac_word=$2
@@ -4694,6 +4689,11 @@ fi
 
 	fi
 fi
+else
+  PBXBUILD="no"
+  XCODEBUILD="no"
+fi
+withval=""
 
 MODULES_SH=""
 for i in $MODULES ; do