diff options
author | minskim <minskim> | 2006-03-08 17:21:34 +0000 |
---|---|---|
committer | minskim <minskim> | 2006-03-08 17:21:34 +0000 |
commit | feef8bcc85678c031b8b330ea2c36ed07d9da8b8 (patch) | |
tree | 8c61a0b6f04e3cdaa10ac02ddecb964b0e43c278 /math | |
parent | a64f41e7e4c0e7d3b6d9c94a786b1d75c772b2ab (diff) | |
download | pkgsrc-feef8bcc85678c031b8b330ea2c36ed07d9da8b8.tar.gz |
Let the package find BLAS routines on Mac OS X. This makes the package build
on Darwin.
Diffstat (limited to 'math')
-rw-r--r-- | math/py-numarray/Makefile | 9 | ||||
-rw-r--r-- | math/py-numarray/PLIST | 3 |
2 files changed, 10 insertions, 2 deletions
diff --git a/math/py-numarray/Makefile b/math/py-numarray/Makefile index 9b1d2365cd6..0e1febbe39f 100644 --- a/math/py-numarray/Makefile +++ b/math/py-numarray/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2006/03/04 21:30:08 jlam Exp $ +# $NetBSD: Makefile,v 1.11 2006/03/08 17:21:34 minskim Exp $ # DISTNAME= numarray-1.5.1 @@ -13,5 +13,12 @@ COMMENT= Array manipulation PYDISTUTILSPKG= yes PYTHON_VERSIONS_ACCEPTED= 24 23 22 +.if exists(/System/Library/Frameworks/vecLib.framework/Headers) +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 --git a/math/py-numarray/PLIST b/math/py-numarray/PLIST index d13fdb02fbc..fee92efb2a6 100644 --- a/math/py-numarray/PLIST +++ b/math/py-numarray/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.7 2006/02/15 16:41:04 drochner Exp $ +@comment $NetBSD: PLIST,v 1.8 2006/03/08 17:21:34 minskim Exp $ ${PYINC}/numarray/arraybase.h ${PYINC}/numarray/arrayif.h ${PYINC}/numarray/arrayobject.h @@ -20,6 +20,7 @@ ${PYSITELIB}/numarray/_bytes.so ${PYSITELIB}/numarray/_chararray.so ${PYSITELIB}/numarray/_conv.so ${PYSITELIB}/numarray/_converter.so +${DOTBLAS}${PYSITELIB}/numarray/_dotblas.so ${PYSITELIB}/numarray/_ndarray.so ${PYSITELIB}/numarray/_numarray.so ${PYSITELIB}/numarray/_numerictype.so |