diff options
author | joerg <joerg> | 2006-03-28 17:38:31 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-03-28 17:38:31 +0000 |
commit | cfef60ea9d651e234660a38b1253911b3ac367e5 (patch) | |
tree | fbe6d300bed654a215a47bbc51aeaa3875e8d8bb /chat | |
parent | 03742da20682b2461a31f09af17f8b183580c367 (diff) | |
download | pkgsrc-cfef60ea9d651e234660a38b1253911b3ac367e5.tar.gz |
Fix pthread detection / use of xchat-python.
Diffstat (limited to 'chat')
-rw-r--r-- | chat/xchat-python/Makefile | 3 | ||||
-rw-r--r-- | chat/xchat/patches/patch-aa | 13 |
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 |