openbsd-ports/games/bzflag/patches/patch-configure_ac
ajacoutot 3b5c5051ef Update to bzflag-2.4.2.
from Brad
2012-09-03 07:19:34 +00:00

13 lines
529 B
Plaintext

$OpenBSD: patch-configure_ac,v 1.7 2012/09/03 07:19:34 ajacoutot Exp $
--- configure.ac.orig Sat Jul 28 18:48:58 2012
+++ configure.ac Tue Aug 7 07:18:22 2012
@@ -288,7 +288,7 @@ AC_CHECK_LIB([socket], [gethostent], [], AC_CHECK_LIB(
# see if pthreads are in libc_r (as on FreeBSD) or libpthread
AC_CHECK_LIB([c_r], [pthread_create], LIBPTHREAD="-lc_r",
- [AC_CHECK_LIB([pthread], [pthread_create], LIBPTHREAD="-lpthread",
+ [AC_CHECK_LIB([pthread], [pthread_create], LIBPTHREAD="-pthread",
LIBPTHREAD="")]
)