summaryrefslogtreecommitdiff
path: root/textproc/oniguruma/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/oniguruma/buildlink3.mk')
-rw-r--r--textproc/oniguruma/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/textproc/oniguruma/buildlink3.mk b/textproc/oniguruma/buildlink3.mk
index 4a0189b3e09..218994e04ab 100644
--- a/textproc/oniguruma/buildlink3.mk
+++ b/textproc/oniguruma/buildlink3.mk
@@ -1,19 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.2 2008/08/09 17:52:57 ahoka Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2009/03/20 19:25:31 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-ONIGURUMA_BUILDLINK3_MK:= ${ONIGURUMA_BUILDLINK3_MK}+
+BUILDLINK_TREE+= oniguruma
-.if ${BUILDLINK_DEPTH} == "+"
-BUILDLINK_DEPENDS+= oniguruma
-.endif
+.if !defined(ONIGURUMA_BUILDLINK3_MK)
+ONIGURUMA_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Noniguruma}
-BUILDLINK_PACKAGES+= oniguruma
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}oniguruma
-
-.if ${ONIGURUMA_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.oniguruma+= oniguruma>=5.9.1
BUILDLINK_PKGSRCDIR.oniguruma?= ../../textproc/oniguruma
-.endif # ONIGURUMA_BUILDLINK3_MK
+.endif # ONIGURUMA_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -oniguruma