openbsd-ports/games/tmw/patches/patch-configure
ajacoutot cf7d3d2e92 - update to tmw-0.0.28.1
from Jonathan ARMANI (maintainer)
2009-03-28 11:54:14 +00:00

30 lines
994 B
Plaintext

$OpenBSD: patch-configure,v 1.2 2009/03/28 11:54:14 ajacoutot Exp $
--- configure.orig Thu Feb 12 20:46:48 2009
+++ configure Sat Mar 28 12:38:05 2009
@@ -7778,13 +7778,13 @@ fi
# Checks for libraries
-{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: checking for pthread_create in -pthread" >&5
+echo $ECHO_N "checking for pthread_create in -pthread... $ECHO_C" >&6; }
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -7844,7 +7844,7 @@ if test $ac_cv_lib_pthread_pthread_create = yes; then
#define HAVE_LIBPTHREAD 1
_ACEOF
- LIBS="-lpthread $LIBS"
+ LIBS="-pthread $LIBS"
else
{ { echo "$as_me:$LINENO: error: *** Unable to find pthread library" >&5