summaryrefslogtreecommitdiff
path: root/misc/libutf/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'misc/libutf/buildlink3.mk')
-rw-r--r--misc/libutf/buildlink3.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/misc/libutf/buildlink3.mk b/misc/libutf/buildlink3.mk
new file mode 100644
index 00000000000..0dfe5fcb02b
--- /dev/null
+++ b/misc/libutf/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/12 11:19:12 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBUTF_BUILDLINK3_MK:= ${LIBUTF_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libutf
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibutf}
+BUILDLINK_PACKAGES+= libutf
+
+.if !empty(LIBUTF_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libutf+= libutf>=2.10nb1
+BUILDLINK_PKGSRCDIR.libutf?= ../../misc/libutf
+.endif # LIBUTF_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}