pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/py-Numeric bl3ify



details:   https://anonhg.NetBSD.org/pkgsrc/rev/28f0031a6002
branches:  trunk
changeset: 469002:28f0031a6002
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Feb 18 16:02:01 2004 +0000

description:
bl3ify

diffstat:

 math/py-Numeric/Makefile      |   4 ++--
 math/py-Numeric/buildlink3.mk |  22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r 433bd14dfc4f -r 28f0031a6002 math/py-Numeric/Makefile
--- a/math/py-Numeric/Makefile  Wed Feb 18 15:48:00 2004 +0000
+++ b/math/py-Numeric/Makefile  Wed Feb 18 16:02:01 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2003/09/14 17:43:53 recht Exp $
+# $NetBSD: Makefile,v 1.34 2004/02/18 16:02:01 minskim Exp $
 
 DISTNAME=      Numeric-23.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -9,7 +9,7 @@
 HOMEPAGE=      http://www.pfdubois.com/numpy/
 COMMENT=       Adds multidimensional numeric arrays to Python
 
-USE_BUILDLINK2=        yes
+USE_BUILDLINK3=        yes
 
 PYDISTUTILSPKG=        yes
 PYBINMODULE=   yes
diff -r 433bd14dfc4f -r 28f0031a6002 math/py-Numeric/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-Numeric/buildlink3.mk     Wed Feb 18 16:02:01 2004 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/18 16:02:01 minskim Exp $
+#
+# This Makefile fragment is included by packages that use py23pth-Numeric.
+#
+
+BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
+PY_NUMERIC_BUILDLINK3_MK:=     ${PY_NUMERIC_BUILDLINK3_MK}+
+
+.include "../../lang/python/pyversion.mk"
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    ${PYPKGPREFIX}-Numeric-*
+.endif
+
+.if !empty(PY_NUMERIC_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+=                   pynumeric
+BUILDLINK_DEPENDS.pynumeric+=          ${PYPKGPREFIX}-Numeric-*
+BUILDLINK_PKGSRCDIR.pynumeric?=                ../../math/py-Numeric
+
+.endif # PY_NUMERIC_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index