openbsd-ports/net/ettercap/patches/patch-configure
margarida 3ff9b85c4f Add MASTER_SITE;
Link to -lncurses (default behaviour);
Take maintainership, agreed by previous MAINTAINER.

brad@ ok
2002-12-22 01:24:49 +00:00

48 lines
1.6 KiB
Plaintext

$OpenBSD: patch-configure,v 1.9 2002/12/22 01:24:49 margarida Exp $
--- configure.orig Sat Dec 21 17:54:15 2002
+++ configure Sat Dec 21 17:22:44 2002
@@ -8554,14 +8554,14 @@ echo "${ECHO_T}yes" >&6
;;
no) echo "$as_me:$LINENO: result: no." >&5
echo "${ECHO_T}no." >&6
- E_CFLAGS="-O3 -funroll-loops -fomit-frame-pointer -Wall"
+ E_CFLAGS="-funroll-loops -fomit-frame-pointer -Wall"
ac_cv_ec_debug=no
;;
esac
else
echo "$as_me:$LINENO: result: no. disabled by default." >&5
echo "${ECHO_T}no. disabled by default." >&6
- E_CFLAGS="-O3 -funroll-loops -fomit-frame-pointer -Wall"
+ E_CFLAGS="-funroll-loops -fomit-frame-pointer -Wall"
ac_cv_ec_debug=no
fi;
@@ -8917,7 +8917,7 @@ if test $check_ssh -ne 0; then
if test -f $ssl_path/include/openssl/ssl.h; then
COPTS="$COPTS -I$ssl_path/include"
- LIBS="$LIBS -L$ssl_path/lib -lssl -lcrypto"
+ LIBS="$LIBS -L$ssl_path/lib -lssl -lcrypto -ldes"
cat >>confdefs.h <<\_ACEOF
#define HAVE_OPENSSL 1
_ACEOF
@@ -8927,7 +8927,7 @@ _ACEOF
echo "${ECHO_T}yes" >&6
elif test -f $ssl_path/ssl/include/openssl/ssl.h; then
COPTS="$COPTS -I$ssl_path/ssl/include"
- LIBS="$LIBS -L$ssl_path/ssl/lib -lssl -lcrypto"
+ LIBS="$LIBS -L$ssl_path/ssl/lib -lssl -lcrypto -ldes"
cat >>confdefs.h <<\_ACEOF
#define HAVE_OPENSSL 1
_ACEOF
@@ -8936,7 +8936,7 @@ _ACEOF
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
elif test -f /usr/include/openssl/ssl.h; then
- LIBS="$LIBS -lssl -lcrypto"
+ LIBS="$LIBS -lssl -lcrypto -ldes"
cat >>confdefs.h <<\_ACEOF
#define HAVE_OPENSSL 1
_ACEOF