pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/py-Scientific Explicitly link mpipython with pthr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7362fd7b7bf0
branches:  trunk
changeset: 510083:7362fd7b7bf0
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Mar 24 10:59:19 2006 +0000

description:
Explicitly link mpipython with pthread, since libpython is multithreaded.

diffstat:

 math/py-Scientific/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f4bf92e17e2d -r 7362fd7b7bf0 math/py-Scientific/Makefile
--- a/math/py-Scientific/Makefile       Fri Mar 24 10:35:29 2006 +0000
+++ b/math/py-Scientific/Makefile       Fri Mar 24 10:59:19 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2006/03/04 21:30:08 jlam Exp $
+# $NetBSD: Makefile,v 1.26 2006/03/24 10:59:19 joerg Exp $
 
 DISTNAME=      ScientificPython-2.4.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/Python//}
@@ -27,7 +27,7 @@
 
 post-build:
        @(cd ${WRKSRC}/Src/MPI && ${SETENV} CFLAGS="${CFLAGS}" \
-         LDFLAGS="${LDFLAGS}" ${PYTHONBIN} compile.py)
+         LDFLAGS="${LDFLAGS} ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" ${PYTHONBIN} compile.py)
 
 post-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/Src/MPI/mpipython \



Home | Main Index | Thread Index | Old Index