diff options
Diffstat (limited to 'math/py-Numeric')
-rw-r--r-- | math/py-Numeric/Makefile | 4 | ||||
-rw-r--r-- | math/py-Numeric/buildlink3.mk | 22 |
2 files changed, 24 insertions, 2 deletions
diff --git a/math/py-Numeric/Makefile b/math/py-Numeric/Makefile index f2aadcd5015..b7623b58aa6 100644 --- a/math/py-Numeric/Makefile +++ b/math/py-Numeric/Makefile @@ -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 @@ MAINTAINER= tsarna@NetBSD.org HOMEPAGE= http://www.pfdubois.com/numpy/ COMMENT= Adds multidimensional numeric arrays to Python -USE_BUILDLINK2= yes +USE_BUILDLINK3= yes PYDISTUTILSPKG= yes PYBINMODULE= yes diff --git a/math/py-Numeric/buildlink3.mk b/math/py-Numeric/buildlink3.mk new file mode 100644 index 00000000000..7ef16347341 --- /dev/null +++ b/math/py-Numeric/buildlink3.mk @@ -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/+$//} |