pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/py-numarray Let the package find BLAS routines on...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f6683ef0bf40
branches:  trunk
changeset: 509326:f6683ef0bf40
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Mar 08 17:21:34 2006 +0000

description:
Let the package find BLAS routines on Mac OS X.  This makes the package build
on Darwin.

diffstat:

 math/py-numarray/Makefile |  9 ++++++++-
 math/py-numarray/PLIST    |  3 ++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diffs (39 lines):

diff -r 966ad5f8152a -r f6683ef0bf40 math/py-numarray/Makefile
--- a/math/py-numarray/Makefile Wed Mar 08 16:46:34 2006 +0000
+++ b/math/py-numarray/Makefile Wed Mar 08 17:21:34 2006 +0000
@@ -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 @@
 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 -r 966ad5f8152a -r f6683ef0bf40 math/py-numarray/PLIST
--- a/math/py-numarray/PLIST    Wed Mar 08 16:46:34 2006 +0000
+++ b/math/py-numarray/PLIST    Wed Mar 08 17:21:34 2006 +0000
@@ -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/_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



Home | Main Index | Thread Index | Old Index