openbsd-ports/games/crossfire-client/patches/patch-configure

30 lines
895 B
Plaintext
Raw Normal View History

2008-04-01 05:14:31 -04:00
$OpenBSD: patch-configure,v 1.2 2008/04/01 09:14:31 ajacoutot Exp $
--- configure.orig Sat Feb 12 19:09:25 2005
+++ configure Sat Feb 12 19:09:27 2005
2008-04-01 05:14:31 -04:00
@@ -7688,13 +7688,13 @@ fi
-{ 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
2008-04-01 05:14:31 -04:00
-LIBS="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
2008-04-01 05:14:31 -04:00
/* confdefs.h. */
_ACEOF
@@ -7754,7 +7754,7 @@ if test $ac_cv_lib_pthread_pthread_create = yes; then
#define HAVE_LIBPTHREAD 1
_ACEOF
- LIBS="-lpthread $LIBS"
+ LIBS="-pthread $LIBS"
fi