2004-03-26 03:27:34 +01:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.5 2004/03/26 02:27:42 wiz Exp $
|
2004-01-25 15:23:39 +01:00
|
|
|
|
2004-01-25 18:15:12 +01:00
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
2004-01-25 15:23:39 +01:00
|
|
|
PYTHON20_BUILDLINK3_MK:= ${PYTHON20_BUILDLINK3_MK}+
|
|
|
|
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
|
|
BUILDLINK_DEPENDS+= python20
|
|
|
|
.endif
|
|
|
|
|
2004-03-05 20:25:06 +01:00
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npython20}
|
|
|
|
BUILDLINK_PACKAGES+= python20
|
|
|
|
|
2004-01-25 15:23:39 +01:00
|
|
|
.if !empty(PYTHON20_BUILDLINK3_MK:M+)
|
2004-02-10 21:45:01 +01:00
|
|
|
BUILDLINK_DEPENDS.python20+= python20>=2.0
|
2004-03-26 03:27:34 +01:00
|
|
|
BUILDLINK_RECOMMENDED.python20?= python20>=2.0.1nb7
|
2004-01-25 18:15:12 +01:00
|
|
|
BUILDLINK_PKGSRCDIR.python20?= ../../lang/python20
|
2004-01-25 15:23:39 +01:00
|
|
|
|
2004-03-05 20:25:06 +01:00
|
|
|
.if defined(BUILDLINK_DEPMETHOD.python)
|
2004-01-25 15:23:39 +01:00
|
|
|
BUILDLINK_DEPMETHOD.python20?= ${BUILDLINK_DEPMETHOD.python}
|
2004-03-05 20:25:06 +01:00
|
|
|
.endif
|
2004-01-25 15:23:39 +01:00
|
|
|
|
2004-01-25 18:15:12 +01:00
|
|
|
BUILDLINK_INCDIRS.python20+= include/python2.0
|
|
|
|
BUILDLINK_LIBDIRS.python20+= lib/python2.0/config
|
2004-01-25 15:23:39 +01:00
|
|
|
BUILDLINK_TRANSFORM+= l:python:python2.0
|
|
|
|
|
2004-03-05 20:25:06 +01:00
|
|
|
.endif # PYTHON20_BUILDLINK3_MK
|
2004-01-25 15:23:39 +01:00
|
|
|
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|