pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/py-Numeric Let the package find BLAS and LAPACK r...
details: https://anonhg.NetBSD.org/pkgsrc/rev/07c1c6d17411
branches: trunk
changeset: 508978:07c1c6d17411
user: minskim <minskim%pkgsrc.org@localhost>
date: Wed Mar 01 19:15:07 2006 +0000
description:
Let the package find BLAS and LAPACK routines on Mac OS X. This makes the
package build on Darwin.
diffstat:
math/py-Numeric/Makefile | 10 ++++++++--
math/py-Numeric/PLIST | 7 ++++++-
2 files changed, 14 insertions(+), 3 deletions(-)
diffs (57 lines):
diff -r f61f36dead1e -r 07c1c6d17411 math/py-Numeric/Makefile
--- a/math/py-Numeric/Makefile Wed Mar 01 18:27:26 2006 +0000
+++ b/math/py-Numeric/Makefile Wed Mar 01 19:15:07 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2006/02/15 17:37:08 drochner Exp $
+# $NetBSD: Makefile,v 1.41 2006/03/01 19:15:07 minskim Exp $
DISTNAME= Numeric-24.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -9,10 +9,16 @@
HOMEPAGE= http://numeric.scipy.org/
COMMENT= Adds multidimensional numeric arrays to Python
-
PYDISTUTILSPKG= yes
PYBINMODULE= yes
PYSETUP= setup.py
+.if exists(/System/Library/Frameworks/vecLib.framework)
+BUILDLINK_PASSTHRU_DIRS+= /System/Library/Frameworks/vecLib.framework/Headers
+PLIST_SUBST+= DOTBLAS=""
+.else
+PLIST_SUBST+= DOTBLAS="@comment "
+.endif
+
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
diff -r f61f36dead1e -r 07c1c6d17411 math/py-Numeric/PLIST
--- a/math/py-Numeric/PLIST Wed Mar 01 18:27:26 2006 +0000
+++ b/math/py-Numeric/PLIST Wed Mar 01 19:15:07 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2006/02/15 17:37:08 drochner Exp $
+@comment $NetBSD: PLIST,v 1.6 2006/03/01 19:15:07 minskim Exp $
${PYINC}/Numeric/arrayobject.h
${PYINC}/Numeric/f2c.h
${PYINC}/Numeric/ranlib.h
@@ -54,8 +54,12 @@
${PYSITELIB}/Numeric/UserArray.py
${PYSITELIB}/Numeric/UserArray.pyc
${PYSITELIB}/Numeric/UserArray.pyo
+${DOTBLAS}${PYSITELIB}/Numeric/_dotblas.so
${PYSITELIB}/Numeric/_numpy.so
${PYSITELIB}/Numeric/arrayfns.so
+${DOTBLAS}${PYSITELIB}/Numeric/dotblas/__init__.py
+${DOTBLAS}${PYSITELIB}/Numeric/dotblas/__init__.pyc
+${DOTBLAS}${PYSITELIB}/Numeric/dotblas/__init__.pyo
${PYSITELIB}/Numeric/lapack_lite.so
${PYSITELIB}/Numeric/multiarray.so
${PYSITELIB}/Numeric/numeric_version.py
@@ -63,6 +67,7 @@
${PYSITELIB}/Numeric/numeric_version.pyo
${PYSITELIB}/Numeric/ranlib.so
${PYSITELIB}/Numeric/umath.so
+${DOTBLAS}@dirrm ${PYSITELIB}/Numeric/dotblas
@dirrm ${PYSITELIB}/Numeric/RNG
@dirrm ${PYSITELIB}/Numeric/Numeric_headers
@dirrm ${PYSITELIB}/Numeric/MA
Home |
Main Index |
Thread Index |
Old Index