From 59f2131203be3f4774ef123eb81ddeeae60cb2ae Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 24 Mar 2006 10:59:19 +0000 Subject: Explicitly link mpipython with pthread, since libpython is multithreaded. --- math/py-Scientific/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'math') 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 \ -- cgit v1.2.3