summaryrefslogtreecommitdiff
path: root/x11/fltk/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'x11/fltk/buildlink3.mk')
-rw-r--r--x11/fltk/buildlink3.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/x11/fltk/buildlink3.mk b/x11/fltk/buildlink3.mk
new file mode 100644
index 00000000000..5b71b3cb04f
--- /dev/null
+++ b/x11/fltk/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/18 10:21:15 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+FLTK_BUILDLINK3_MK:= ${FLTK_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= fltk
+.endif
+
+.if !empty(FLTK_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= fltk
+BUILDLINK_DEPENDS.fltk+= fltk>=1.0.9
+BUILDLINK_PKGSRCDIR.fltk?= ../../x11/fltk
+
+. include "../../graphics/MesaLib/buildlink3.mk"
+. include "../../graphics/glu/buildlink3.mk"
+.endif # FLTK_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}