summaryrefslogtreecommitdiff
path: root/net/nmap/patches/patch-ad
blob: 687b637728c2f1e2c774b2324152b515d7265333 (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
$NetBSD: patch-ad,v 1.7 2003/10/13 15:02:15 salo Exp $

--- nbase/configure.orig	2003-10-03 10:33:24.000000000 +0200
+++ nbase/configure	2003-10-06 12:52:20.000000000 +0200
@@ -10,6 +10,8 @@
 ## M4sh Initialization.  ##
 ## --------------------- ##
 
+LIBS=
+
 # Be Bourne compatible
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   emulate sh
@@ -6423,7 +6425,7 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lssl  $LIBS"
+LIBS="-lssl -lcrypto $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"
 /* confdefs.h.  */
@@ -6476,7 +6478,7 @@
 #define HAVE_LIBSSL 1
 _ACEOF
 
-  LIBS="-lssl $LIBS"
+  LIBS="-lssl -lcrypto $LIBS"
 
 else
    use_openssl="no"