Patch provided by Michal Pasternak in PR 24664 (with fixes by me).
This commit is contained in:
recht 2004-03-04 11:11:30 +00:00
parent ba3cf11d97
commit 340ff066b7
2 changed files with 22 additions and 2 deletions

View file

@ -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"

View file

@ -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/+$//}