diff options
Diffstat (limited to 'lang/python25')
-rw-r--r-- | lang/python25/buildlink3.mk | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/lang/python25/buildlink3.mk b/lang/python25/buildlink3.mk index 34c92fd4a6b..046af0b6d14 100644 --- a/lang/python25/buildlink3.mk +++ b/lang/python25/buildlink3.mk @@ -1,17 +1,10 @@ -# $NetBSD: buildlink3.mk,v 1.2 2009/01/23 03:05:53 dsainty Exp $ +# $NetBSD: buildlink3.mk,v 1.3 2009/03/20 19:24:52 joerg Exp $ -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ -PYTHON25_BUILDLINK3_MK:= ${PYTHON25_BUILDLINK3_MK}+ +BUILDLINK_TREE+= python25 -.if !empty(BUILDLINK_DEPTH:M+) -BUILDLINK_DEPENDS+= python25 -.endif - -BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npython25} -BUILDLINK_PACKAGES+= python25 -BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}python25 +.if !defined(PYTHON25_BUILDLINK3_MK) +PYTHON25_BUILDLINK3_MK:= -.if !empty(PYTHON25_BUILDLINK3_MK:M+) BUILDLINK_API_DEPENDS.python25+= python25>=2.5 BUILDLINK_ABI_DEPENDS.python25+= python25>=2.5.2 BUILDLINK_PKGSRCDIR.python25?= ../../lang/python25 @@ -24,8 +17,6 @@ BUILDLINK_INCDIRS.python25+= include/python2.5 BUILDLINK_LIBDIRS.python25+= lib/python2.5/config BUILDLINK_TRANSFORM+= l:python:python2.5 -.endif # PYTHON25_BUILDLINK3_MK - .include "../../mk/bsd.fast.prefs.mk" .if ${OPSYS} != "IRIX" . include "../../mk/bdb.buildlink3.mk" @@ -34,5 +25,6 @@ BUILDLINK_TRANSFORM+= l:python:python2.5 .include "../../mk/dlopen.buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" +.endif # PYTHON25_BUILDLINK3_MK -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} +BUILDLINK_TREE+= -python25 |