diff options
author | joerg <joerg> | 2006-03-24 10:59:19 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-03-24 10:59:19 +0000 |
commit | 59f2131203be3f4774ef123eb81ddeeae60cb2ae (patch) | |
tree | 0e28ebc2417098f67589b11f0c8b4542ef80da03 /math | |
parent | f253f771c0418a12d8a113c9d69eb56d6d3fb4bd (diff) | |
download | pkgsrc-59f2131203be3f4774ef123eb81ddeeae60cb2ae.tar.gz |
Explicitly link mpipython with pthread, since libpython is multithreaded.
Diffstat (limited to 'math')
-rw-r--r-- | math/py-Scientific/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/py-Scientific/Makefile b/math/py-Scientific/Makefile index 819f6b2afe2..297447e09cd 100644 --- a/math/py-Scientific/Makefile +++ b/math/py-Scientific/Makefile @@ -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 @@ PLIST_SUBST+= OSVER=${OS_VERSION:C/^(.).*/\1/} 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 \ |