summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-03-28 17:38:31 +0000
committerjoerg <joerg@pkgsrc.org>2006-03-28 17:38:31 +0000
commit77364fd4c5728d93b5882477b0c8fc15bd47e085 (patch)
treefbe6d300bed654a215a47bbc51aeaa3875e8d8bb /chat
parente7f87bb0887686ba8b5ab4ee1a5ecbe08d56903d (diff)
downloadpkgsrc-77364fd4c5728d93b5882477b0c8fc15bd47e085.tar.gz
Fix pthread detection / use of xchat-python.
Diffstat (limited to 'chat')
-rw-r--r--chat/xchat-python/Makefile3
-rw-r--r--chat/xchat/patches/patch-aa13
2 files changed, 15 insertions, 1 deletions
diff --git a/chat/xchat-python/Makefile b/chat/xchat-python/Makefile
index bbfc72c62a6..3421ef59a90 100644
--- a/chat/xchat-python/Makefile
+++ b/chat/xchat-python/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/03/14 21:30:17 tron Exp $
+# $NetBSD: Makefile,v 1.6 2006/03/28 17:38:32 joerg Exp $
.include "../../chat/xchat/Makefile.common"
@@ -27,4 +27,5 @@ SUBST_SED.libutil= -e 's/ -lutil//g'
.endif
.include "../../lang/python/application.mk"
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/chat/xchat/patches/patch-aa b/chat/xchat/patches/patch-aa
new file mode 100644
index 00000000000..1ea96054675
--- /dev/null
+++ b/chat/xchat/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.10 2006/03/28 17:38:31 joerg Exp $
+
+--- configure.orig 2006-03-28 16:57:01.000000000 +0000
++++ configure
+@@ -27883,7 +27883,7 @@ echo $ECHO_N "checking Python compile fl
+ PY_PREFIX=`$pythonpath -c 'import sys; print sys.prefix'`
+ PY_EXEC_PREFIX=`$pythonpath -c 'import sys; print sys.exec_prefix'`
+ if test -f $PY_INC/Python.h; then
+- PY_LIBS="-L$PY_LIB/config -lpython$PY_VER -lpthread -lutil"
++ PY_LIBS="-L$PY_LIB/config -lpython$PY_VER ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} -lutil"
+ PY_CFLAGS="-I$PY_INC"
+ echo "$as_me:$LINENO: result: ok" >&5
+ echo "${ECHO_T}ok" >&6