summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-03-24 10:59:19 +0000
committerjoerg <joerg@pkgsrc.org>2006-03-24 10:59:19 +0000
commit776af41f4ba633dd00874272f5919754aad9b709 (patch)
tree0e28ebc2417098f67589b11f0c8b4542ef80da03 /math
parentf336bbce031df7ab6b41c45c8cb6360867e0d82e (diff)
downloadpkgsrc-776af41f4ba633dd00874272f5919754aad9b709.tar.gz
Explicitly link mpipython with pthread, since libpython is multithreaded.
Diffstat (limited to 'math')
-rw-r--r--math/py-Scientific/Makefile4
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 \