openbsd-ports/games/tmw/patches/patch-configure
jasper 2ae0356160 - update tmw to 0.0.29
from jonathan armani (MAINTAINER)
2009-05-31 00:19:22 +00:00

30 lines
977 B
Plaintext

$OpenBSD: patch-configure,v 1.3 2009/05/31 00:19:22 jasper Exp $
--- configure.orig Wed May 13 19:29:06 2009
+++ configure Sat May 23 15:56:32 2009
@@ -7992,13 +7992,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
@@ -8062,7 +8062,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