summaryrefslogtreecommitdiff
path: root/games/blokus/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-02-20 00:54:01 +0000
committerjoerg <joerg@pkgsrc.org>2007-02-20 00:54:01 +0000
commit66da9fde8b2ca70bf0fe23029c9f84b36c4370ae (patch)
treee2866e13c101f09a6a3609cdb9427fabccbcfddc /games/blokus/patches
parent3f7321d4d9aea6926f2a703260fe8775d85f4f11 (diff)
downloadpkgsrc-66da9fde8b2ca70bf0fe23029c9f84b36c4370ae.tar.gz
Fix pthread detection and handle modular Xorg.
Diffstat (limited to 'games/blokus/patches')
-rw-r--r--games/blokus/patches/patch-aa30
1 files changed, 30 insertions, 0 deletions
diff --git a/games/blokus/patches/patch-aa b/games/blokus/patches/patch-aa
new file mode 100644
index 00000000000..7a7dc7f5bf8
--- /dev/null
+++ b/games/blokus/patches/patch-aa
@@ -0,0 +1,30 @@
+$NetBSD: patch-aa,v 1.1 2007/02/20 00:54:02 joerg Exp $
+
+--- configure.orig 2007-02-20 00:30:17.000000000 +0000
++++ configure
+@@ -5733,13 +5733,13 @@ _ACEOF
+ 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_LDFLAGS} ${PTHREAD_LIBS}" >&5
++echo $ECHO_N "checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}... $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_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -5815,7 +5815,7 @@ if test $ac_cv_lib_pthread_pthread_creat
+ #define HAVE_LIBPTHREAD 1
+ _ACEOF
+
+- LIBS="-lpthread $LIBS"
++ LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
+
+ fi
+