freebsd-ports/security/tor-devel/files/patch-configure
2012-06-17 16:47:13 +00:00

49 lines
1.1 KiB
Text

--- configure.orig 2012-06-15 03:10:31.000000000 -0400
+++ configure 2012-06-17 08:46:34.000000000 -0400
@@ -6319,6 +6319,7 @@
fi
+if false ; then
trylibeventdir=""
# Check whether --with-libevent-dir was given.
@@ -6645,6 +6646,7 @@
LIBS="$tor_saved_LIBS"
LDFLAGS="$tor_saved_LDFLAGS"
CPPFLAGS="$tor_saved_CPPFLAGS"
+fi
@@ -6707,6 +6709,7 @@
fi
+if false ; then
if test "$enable_static_libevent" = "yes"; then
if test "$tor_cv_library_libevent_dir" = "(system)"; then
as_fn_error $? "\"You must specify an explicit --with-libevent-dir=x option when using --enable-static-libevent\"" "$LINENO" 5
@@ -6716,6 +6719,7 @@
else
TOR_LIBEVENT_LIBS="-levent"
fi
+fi
if test "$enable_bufferevents" = "yes" ; then
if test "$ac_cv_header_event2_bufferevent_ssl_h" != "yes" ; then
@@ -6794,12 +6798,14 @@
$as_echo "#define USE_BUFFEREVENTS 1" >>confdefs.h
+if false ; then
if test "$enable_static_libevent" = "yes"; then
TOR_LIBEVENT_LIBS="$TOR_LIBDIR_libevent/libevent_openssl.a $TOR_LIBEVENT_LIBS"
else
TOR_LIBEVENT_LIBS="-levent_openssl $TOR_LIBEVENT_LIBS"
fi
fi
+fi