pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/xchat-python Fix pthread detection / use of xchat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6bdced514a90
branches:  trunk
changeset: 510133:6bdced514a90
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Mar 28 17:38:31 2006 +0000

description:
Fix pthread detection / use of xchat-python.

diffstat:

 chat/xchat-python/Makefile  |   3 ++-
 chat/xchat/patches/patch-aa |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 8eeddaeb6fe2 -r 6bdced514a90 chat/xchat-python/Makefile
--- a/chat/xchat-python/Makefile        Tue Mar 28 17:26:59 2006 +0000
+++ b/chat/xchat-python/Makefile        Tue Mar 28 17:38:31 2006 +0000
@@ -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 @@
 .endif
 
 .include "../../lang/python/application.mk"
+.include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 8eeddaeb6fe2 -r 6bdced514a90 chat/xchat/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/xchat/patches/patch-aa       Tue Mar 28 17:38:31 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index