summaryrefslogtreecommitdiff
path: root/net/nmap/patches/patch-ad
blob: 107959f97f52137b3e1a54a72116d1faa1dab161 (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.8 2004/01/22 11:20:04 salo Exp $

--- nbase/configure.orig	2004-01-12 04:23:12.000000000 +0100
+++ nbase/configure	2004-01-22 10:19:15.000000000 +0100
@@ -9,6 +9,8 @@
 ## M4sh Initialization.  ##
 ## --------------------- ##
 
+LIBS=
+
 # Be Bourne compatible
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   emulate sh
@@ -7068,7 +7070,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
 /* confdefs.h.  */
 _ACEOF
@@ -7131,7 +7133,7 @@
 #define HAVE_LIBSSL 1
 _ACEOF
 
-  LIBS="-lssl $LIBS"
+  LIBS="-lssl -lcrypto $LIBS"
 
 else
    use_openssl="no"