summaryrefslogtreecommitdiff
path: root/textproc/libpathan/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/libpathan/buildlink3.mk')
-rw-r--r--textproc/libpathan/buildlink3.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/textproc/libpathan/buildlink3.mk b/textproc/libpathan/buildlink3.mk
new file mode 100644
index 00000000000..a6f65249588
--- /dev/null
+++ b/textproc/libpathan/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/02/12 02:41:18 minskim Exp $
+#
+# This Makefile fragment is included by packages that use libpathan.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBPATHAN_BUILDLINK3_MK:= ${LIBPATHAN_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libpathan
+.endif
+
+.if !empty(LIBPATHAN_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= libpathan
+BUILDLINK_DEPENDS.libpathan+= libpathan>=1.2.2
+BUILDLINK_PKGSRCDIR.libpathan?= ../../wip/libpathan
+
+.include "../../textproc/xerces-c/buildlink3.mk"
+
+.endif # LIBPATHAN_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}