pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/time/py-mxDateTime bl3ify
details: https://anonhg.NetBSD.org/pkgsrc/rev/261896f0613b
branches: trunk
changeset: 469977:261896f0613b
user: recht <recht%pkgsrc.org@localhost>
date: Thu Mar 04 11:11:30 2004 +0000
description:
bl3ify
Patch provided by Michal Pasternak in PR 24664 (with fixes by me).
diffstat:
time/py-mxDateTime/Makefile | 4 ++--
time/py-mxDateTime/buildlink3.mk | 20 ++++++++++++++++++++
2 files changed, 22 insertions(+), 2 deletions(-)
diffs (42 lines):
diff -r e93963e4f6b6 -r 261896f0613b time/py-mxDateTime/Makefile
--- a/time/py-mxDateTime/Makefile Thu Mar 04 10:58:09 2004 +0000
+++ b/time/py-mxDateTime/Makefile Thu Mar 04 11:11:30 2004 +0000
@@ -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 @@
PYDISTUTILSPKG= yes
PYBINMODULE= yes
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
diff -r e93963e4f6b6 -r 261896f0613b time/py-mxDateTime/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/time/py-mxDateTime/buildlink3.mk Thu Mar 04 11:11:30 2004 +0000
@@ -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/+$//}
Home |
Main Index |
Thread Index |
Old Index