summaryrefslogtreecommitdiff
path: root/net-mgmt/ettercap/files/patch-configure
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-09-09 15:24:38 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-09-09 15:24:38 +0000
commitb8c51e91739cb74756810339db7beef80b96ed0c (patch)
tree2dea59ad52c76996da69930c9ae49a362a9fe0cb /net-mgmt/ettercap/files/patch-configure
parentAdd wav2cdr 2.3.3, converts WAV files into CDR audio file format. (diff)
- OPTIONS'ify
- Reorganize Makefile - Make portlint happyer - Pass maintainership to submitter PR: ports/85892 Submitted by: Marcus Alves Grando <marcus@corp.grupos.com.br>
Notes
Notes: svn path=/head/; revision=142292
Diffstat (limited to 'net-mgmt/ettercap/files/patch-configure')
-rw-r--r--net-mgmt/ettercap/files/patch-configure102
1 files changed, 102 insertions, 0 deletions
diff --git a/net-mgmt/ettercap/files/patch-configure b/net-mgmt/ettercap/files/patch-configure
new file mode 100644
index 000000000000..77db4c590bf0
--- /dev/null
+++ b/net-mgmt/ettercap/files/patch-configure
@@ -0,0 +1,102 @@
+--- configure.orig Fri Jun 14 18:53:14 2002
++++ configure Wed Jul 17 17:09:18 2002
+@@ -27504,8 +27504,8 @@
+ rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test "$ac_cv_search_pthread_create" = no; then
+- for ac_lib in c_r pthread; do
+- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
++# for ac_lib in c_r pthread; do
++ LIBS="%%PTHREAD_LIBS%% $ac_func_search_save_LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -27550,7 +27550,7 @@
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+- ac_cv_search_pthread_create="-l$ac_lib"
++ ac_cv_search_pthread_create="%%PTHREAD_LIBS%%"
+ break
+ else
+ echo "$as_me: failed program was:" >&5
+@@ -27559,7 +27559,7 @@
+ fi
+ rm -f conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+- done
++# done
+ fi
+ LIBS=$ac_func_search_save_LIBS
+ fi
+@@ -27699,10 +27699,10 @@
+ fi
+
+ elif test "$OS" != "MACOSX" -a "$OS" != "WINDOWS"; then
+- echo "$as_me:$LINENO: checking whether $CC accepts -pthread" >&5
+-echo $ECHO_N "checking whether $CC accepts -pthread... $ECHO_C" >&6
++ echo "$as_me:$LINENO: checking whether $CC accepts %%PTHREAD_LIBS%%" >&5
++echo $ECHO_N "checking whether $CC accepts %%PTHREAD_LIBS%%... $ECHO_C" >&6
+ LDFLAGS_store="$LDFLAGS"
+- LDFLAGS="$LDFLAGS -pthread"
++ LDFLAGS="$LDFLAGS %%PTHREAD_LIBS%%"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -30441,14 +30441,14 @@
+ ;;
+ no) echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+- DEBUG_FLAGS="-O2 -funroll-loops -fomit-frame-pointer -Wall"
++ DEBUG_FLAGS="-Wall"
+ ac_ec_debug=no
+ ;;
+ esac
+ else
+ echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+- DEBUG_FLAGS="-O2 -funroll-loops -fomit-frame-pointer -Wall"
++ DEBUG_FLAGS="-Wall"
+ ac_ec_debug=no
+
+ fi;
+@@ -30935,7 +30935,7 @@
+
+ OLDLDFLAGS="${LDFLAGS}"
+ OLDLIBS="${LIBS}"
+- LDFLAGS="$PCAPLIB"
++ LDFLAGS="$LDFLAGS $PCAPLIB"
+ LIBS="$LIBS"
+
+ echo "$as_me:$LINENO: checking for pcap_datalink_val_to_description in -lpcap" >&5
+@@ -31271,6 +31271,16 @@
+
+
+
++if false; then
++ HAVE_PCRE_TRUE=
++ HAVE_PCRE_FALSE='#'
++else
++ HAVE_PCRE_TRUE='#'
++ HAVE_PCRE_FALSE=
++fi
++
++
++
+
+ ac_ec_pcre=no
+
+@@ -32817,6 +32827,13 @@
+ { { echo "$as_me:$LINENO: error: conditional \"OPENSSL\" was never defined.
+ Usually this means the macro was only invoked conditionally." >&5
+ echo "$as_me: error: conditional \"OPENSSL\" was never defined.
++Usually this means the macro was only invoked conditionally." >&2;}
++ { (exit 1); exit 1; }; }
++fi
++if test -z "${HAVE_PCRE_TRUE}" && test -z "${HAVE_PCRE_FALSE}"; then
++ { { echo "$as_me:$LINENO: error: conditional \"HAVE_PCRE\" was never defined.
++Usually this means the macro was only invoked conditionally." >&5
++echo "$as_me: error: conditional \"HAVE_PCRE\" was never defined.
+ Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+ fi