summaryrefslogtreecommitdiff
path: root/net/nmap/patches/patch-ad
blob: 2e26d63242fba605f51d8d5cd06be6de64451b73 (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
$NetBSD: patch-ad,v 1.10 2006/02/01 20:39:11 joerg Exp $

--- nbase/configure.orig	2006-01-25 07:50:35.000000000 +0000
+++ nbase/configure
@@ -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
@@ -2561,7 +2563,7 @@ _ACEOF
   # libpcap doesn't even LOOK at
                                      # the timeout you give it under Linux
     ;;
-  *-freebsd* | *-kfreebsd*-gnu)
+  *-freebsd* | *-kfreebsd*-gnu | *-dragonfly*)
     cat >>confdefs.h <<\_ACEOF
 #define FREEBSD 1
 _ACEOF
@@ -7081,7 +7083,7 @@ if test "${ac_cv_lib_ssl_SSL_new+set}" =
   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
@@ -7144,7 +7146,7 @@ if test $ac_cv_lib_ssl_SSL_new = yes; th
 #define HAVE_LIBSSL 1
 _ACEOF
 
-  LIBS="-lssl $LIBS"
+  LIBS="-lssl -lcrypto $LIBS"
 
 else
    use_openssl="no"