summaryrefslogtreecommitdiff
path: root/lang/lua/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lang/lua/buildlink3.mk')
-rw-r--r--lang/lua/buildlink3.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/lang/lua/buildlink3.mk b/lang/lua/buildlink3.mk
new file mode 100644
index 00000000000..69cbe64f24f
--- /dev/null
+++ b/lang/lua/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/24 00:05:26 cube Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LUA_BUILDLINK3_MK:= ${LUA_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= lua
+.endif
+
+.if !empty(LUA_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= lua
+BUILDLINK_DEPENDS.lua+= lua>=5.0
+BUILDLINK_PKGSRCDIR.lua?= ../../lang/lua
+.endif # LUA_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}