- s/-lpthread/-pthread
This commit is contained in:
parent
c0c74e85b5
commit
e5a02945a1
@ -1,4 +1,4 @@
|
|||||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/08/22 11:41:50 ajacoutot Exp $
|
# $OpenBSD: Makefile,v 1.2 2008/08/25 09:19:39 ajacoutot Exp $
|
||||||
|
|
||||||
COMMENT-main= free open source 2D MMORPG
|
COMMENT-main= free open source 2D MMORPG
|
||||||
COMMENT-music= music addon for TMW
|
COMMENT-music= music addon for TMW
|
||||||
@ -7,7 +7,7 @@ DISTNAME= tmw-0.0.25
|
|||||||
|
|
||||||
V_MUSIC= 0.2
|
V_MUSIC= 0.2
|
||||||
|
|
||||||
PKGNAME-main= ${DISTNAME}
|
PKGNAME-main= ${DISTNAME}p0
|
||||||
PKGNAME-music= tmw-music-${V_MUSIC}
|
PKGNAME-music= tmw-music-${V_MUSIC}
|
||||||
|
|
||||||
CATEGORIES= games x11
|
CATEGORIES= games x11
|
||||||
|
29
games/tmw/patches/patch-configure
Normal file
29
games/tmw/patches/patch-configure
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
$OpenBSD: patch-configure,v 1.1 2008/08/25 09:19:39 ajacoutot Exp $
|
||||||
|
--- configure.orig Mon Aug 25 11:16:06 2008
|
||||||
|
+++ configure Mon Aug 25 11:16:24 2008
|
||||||
|
@@ -4594,13 +4594,13 @@ done
|
||||||
|
|
||||||
|
# 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
|
||||||
|
@@ -4660,7 +4660,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
|
Loading…
Reference in New Issue
Block a user