diff options
Diffstat (limited to 'devel/swig')
-rw-r--r-- | devel/swig/buildlink3.mk | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/devel/swig/buildlink3.mk b/devel/swig/buildlink3.mk index 54e64b8f072..22ff253193a 100644 --- a/devel/swig/buildlink3.mk +++ b/devel/swig/buildlink3.mk @@ -1,17 +1,10 @@ -# $NetBSD: buildlink3.mk,v 1.10 2006/12/02 10:15:46 wulf Exp $ +# $NetBSD: buildlink3.mk,v 1.11 2009/03/20 19:24:30 joerg Exp $ -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ -SWIG_BUILDLINK3_MK:= ${SWIG_BUILDLINK3_MK}+ +BUILDLINK_TREE+= swig -.if !empty(BUILDLINK_DEPTH:M+) -BUILDLINK_DEPENDS+= swig -.endif +.if !defined(SWIG_BUILDLINK3_MK) +SWIG_BUILDLINK3_MK:= -BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nswig} -BUILDLINK_PACKAGES+= swig -BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}swig - -.if !empty(SWIG_BUILDLINK3_MK:M+) BUILDLINK_API_DEPENDS.swig+= swig>=1.3.24 BUILDLINK_ABI_DEPENDS.swig+= swig>=1.3.31 BUILDLINK_PKGSRCDIR.swig?= ../../devel/swig @@ -19,6 +12,6 @@ BUILDLINK_PKGSRCDIR.swig?= ../../devel/swig BUILDLINK_DEPMETHOD.swig?= build BUILDLINK_FILES.swig+= share/swig/1.3/* share/swig/1.3/*/* -.endif # SWIG_BUILDLINK3_MK +.endif # SWIG_BUILDLINK3_MK -BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} +BUILDLINK_TREE+= -swig |