diff options
-rw-r--r-- | time/py-mxDateTime/Makefile | 4 | ||||
-rw-r--r-- | time/py-mxDateTime/buildlink3.mk | 20 |
2 files changed, 22 insertions, 2 deletions
diff --git a/time/py-mxDateTime/Makefile b/time/py-mxDateTime/Makefile index 4c5af737504..12eff2d08db 100644 --- a/time/py-mxDateTime/Makefile +++ b/time/py-mxDateTime/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2003/09/09 14:50:51 recht Exp $ +# $NetBSD: Makefile,v 1.17 2004/03/04 11:11:30 recht Exp $ # DISTNAME= egenix-mx-base-2.0.5 @@ -12,7 +12,7 @@ COMMENT= Python extension that provides types and conversions for dates PYDISTUTILSPKG= yes PYBINMODULE= yes -USE_BUILDLINK2= yes +USE_BUILDLINK3= yes .include "../../lang/python/extension.mk" .include "../../mk/bsd.pkg.mk" diff --git a/time/py-mxDateTime/buildlink3.mk b/time/py-mxDateTime/buildlink3.mk new file mode 100644 index 00000000000..e78c5f74957 --- /dev/null +++ b/time/py-mxDateTime/buildlink3.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/03/04 11:11:30 recht Exp $ +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +PY_MXDATETIME_BUILDLINK3_MK:= ${PY_MXDATETIME_BUILDLINK3_MK}+ + +.include "../../lang/python/pyversion.mk" + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= py-mxDateTime +.endif + +.if !empty(PY_MXDATETIME_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= py-mxDateTime +BUILDLINK_DEPENDS.py-mxDateTime+= ${PYPKGPREFIX}-mxDateTime>=2.0.5 +BUILDLINK_PKGSRCDIR.py-mxDateTime?= ../../time/py-mxDateTime + +.endif # PY_MXDATETIME_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |