openbsd-ports/devel/plib/patches/patch-configure
ajacoutot 5d414bd321 Import plib-1.8.5
PLIB is a suite of portable game librairies.

PLIB includes sound effects, music, a complete 3D engine, font
rendering, a simple Windowing library, a game scripting language, a GUI,
networking, 3D math library and a collection of handy utility functions.
All are 100% portable across nearly all modern computing platforms.
Each library component is fairly independent of the others - so if you
want to use SDL, GTK, GLUT, or FLTK instead of PLIB's 'PW' windowing
library, you can.

Based on a submission from Gallon Sylvestre (MAINTAINER)
2008-11-10 22:10:22 +00:00

30 lines
899 B
Plaintext

$OpenBSD: patch-configure,v 1.1.1.1 2008/11/10 22:10:22 ajacoutot Exp $
--- configure.orig Tue Mar 11 03:10:29 2008
+++ configure Sun Nov 9 12:22:37 2008
@@ -6751,13 +6751,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
-LIBS="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -6833,7 +6833,7 @@ if test $ac_cv_lib_pthread_pthread_create = yes; then
#define HAVE_LIBPTHREAD 1
_ACEOF
- LIBS="-lpthread $LIBS"
+ LIBS="-pthread $LIBS"
fi