openbsd-ports/net/onioncat/patches/patch-configure
pirofti bc06951b20 Update to 0.1.12 revision 493.
- fix segfault
	- fix man page dir
	- PLIST change
2009-03-31 13:59:22 +00:00

30 lines
898 B
Plaintext

$OpenBSD: patch-configure,v 1.3 2009/03/31 13:59:22 pirofti Exp $
--- configure.orig Mon Mar 23 13:03:27 2009
+++ configure Mon Mar 23 13:04:45 2009
@@ -3455,13 +3455,13 @@ fi
# Checks for libraries.
-{ $as_echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
-$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
+{ $as_echo "$as_me:$LINENO: checking for pthread_create in -pthread" >&5
+$as_echo_n "checking for pthread_create in -pthread... " >&6; }
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -3525,7 +3525,7 @@ if test "x$ac_cv_lib_pthread_pthread_create" = x""yes;
#define HAVE_LIBPTHREAD 1
_ACEOF
- LIBS="-lpthread $LIBS"
+ LIBS="-pthread $LIBS"
fi