summaryrefslogtreecommitdiff
path: root/devel/monotone-viz/patches/patch-aa
blob: ec584acbb86bccbe05ed486e320be7a6c92eb7ba (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
$NetBSD: patch-aa,v 1.5 2007/07/17 21:47:40 jmmv Exp $

--- configure.orig	2006-05-25 15:51:47.000000000 +0200
+++ configure
@@ -2178,32 +2178,6 @@ echo "${ECHO_T}yes" >&6
 fi
 fi
 
-if test "$SHARED_SQLITE" != "yes" ; then
-  echo "$as_me:$LINENO: checking monotone's sqlite" >&5
-echo $ECHO_N "checking monotone's sqlite... $ECHO_C" >&6
-  if test -d "$MONOTONE_DIR" -a -r "$MONOTONE_DIR/sqlite/lib3rdparty_a-main.o" ; then
-    echo "$as_me:$LINENO: result: found in $MONOTONE_DIR/sqlite" >&5
-echo "${ECHO_T}found in $MONOTONE_DIR/sqlite" >&6
-  else
-    { { echo "$as_me:$LINENO: error:
-
-Could not find compiled sqlite sources. Monotone-viz needs a compiled
-monotone tree for the sqlite library. Create a link named \`monotone'
-or specify the location to configure using the \`--with-monotone-dir='
-option." >&5
-echo "$as_me: error:
-
-Could not find compiled sqlite sources. Monotone-viz needs a compiled
-monotone tree for the sqlite library. Create a link named \`monotone'
-or specify the location to configure using the \`--with-monotone-dir='
-option." >&2;}
-   { (exit 1); exit 1; }; }
-  fi
-  if test "${MONOTONE_DIR:0:1}" != "/" ; then
-    MONOTONE_DIR="$(pwd)/$MONOTONE_DIR"
-  fi
-fi
-
 
 
 # Check for libcrypto using pkg-config, defaulting to /usr/lib
@@ -2211,6 +2185,7 @@ echo "$as_me:$LINENO: checking OpenSSL's
 echo $ECHO_N "checking OpenSSL's crypto lib... $ECHO_C" >&6
 CRYPTO_LIB_DIR="$(pkg-config openssl --variable=libdir)"
 CRYPTO_LIB="${CRYPTO_LIB_DIR:-/usr/lib}/libcrypto.a"
+CRYPTO_LIB="-lcrypto"
 echo "$as_me:$LINENO: result: $CRYPTO_LIB" >&5
 echo "${ECHO_T}$CRYPTO_LIB" >&6