summaryrefslogtreecommitdiff
path: root/devel/tre/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/tre/buildlink3.mk')
-rw-r--r--devel/tre/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/devel/tre/buildlink3.mk b/devel/tre/buildlink3.mk
index a9b3c6f4bb3..56b24f71166 100644
--- a/devel/tre/buildlink3.mk
+++ b/devel/tre/buildlink3.mk
@@ -1,20 +1,13 @@
-# $NetBSD: buildlink3.mk,v 1.7 2007/09/13 19:23:40 adrianp Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2009/03/20 19:24:30 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-TRE_BUILDLINK3_MK:= ${TRE_BUILDLINK3_MK}+
+BUILDLINK_TREE+= tre
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= tre
-.endif
+.if !defined(TRE_BUILDLINK3_MK)
+TRE_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntre}
-BUILDLINK_PACKAGES+= tre
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tre
-
-.if !empty(TRE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tre+= tre>=0.7.2
BUILDLINK_PKGSRCDIR.tre?= ../../devel/tre
BUILDLINK_CPPFLAGS.tre+= -I${BUILDLINK_PREFIX.tre}/include/tre
-.endif # TRE_BUILDLINK3_MK
+.endif # TRE_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -tre