summaryrefslogtreecommitdiff
path: root/mail/libytnef/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mail/libytnef/buildlink3.mk')
-rw-r--r--mail/libytnef/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/mail/libytnef/buildlink3.mk b/mail/libytnef/buildlink3.mk
index 739da777aab..bb1df62954b 100644
--- a/mail/libytnef/buildlink3.mk
+++ b/mail/libytnef/buildlink3.mk
@@ -1,19 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.1 2008/01/09 03:53:10 smb Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 19:24:55 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-LIBYTNEF_BUILDLINK3_MK:= ${LIBYTNEF_BUILDLINK3_MK}+
+BUILDLINK_TREE+= libytnef
-.if ${BUILDLINK_DEPTH} == "+"
-BUILDLINK_DEPENDS+= libytnef
-.endif
+.if !defined(LIBYTNEF_BUILDLINK3_MK)
+LIBYTNEF_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibytnef}
-BUILDLINK_PACKAGES+= libytnef
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libytnef
-
-.if ${LIBYTNEF_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.libytnef+= libytnef>=1.5
BUILDLINK_PKGSRCDIR.libytnef?= ../../mail/libytnef
-.endif # LIBYTNEF_BUILDLINK3_MK
+.endif # LIBYTNEF_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -libytnef