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
commiteaa12c9dca9cb7a0c3ff2e09bfc1ed670d05ee1e (patch)
tree0e28ebc2417098f67589b11f0c8b4542ef80da03 /math
parentff9923ceb36db48429327716dcff5f03d35b6557 (diff)
downloadpkgsrc-eaa12c9dca9cb7a0c3ff2e09bfc1ed670d05ee1e.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 \