openbsd-ports/games/tmw/patches/patch-configure
ajacoutot 7a63b6b91a Update to tmw-0.0.29.1.
from Jonathan Armani (maintainer), thanks!
2009-08-03 11:48:56 +00:00

30 lines
980 B
Plaintext

$OpenBSD: patch-configure,v 1.4 2009/08/03 11:48:56 ajacoutot Exp $
--- configure.orig Sat Aug 1 14:18:21 2009
+++ configure Sat Aug 1 14:19:44 2009
@@ -8063,13 +8063,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
@@ -8133,7 +8133,7 @@ if test "x$ac_cv_lib_pthread_pthread_create" = x""yes;
#define HAVE_LIBPTHREAD 1
_ACEOF
- LIBS="-lpthread $LIBS"
+ LIBS="-pthread $LIBS"
else
{ { $as_echo "$as_me:$LINENO: error: *** Unable to find pthread library" >&5