summaryrefslogtreecommitdiff
path: root/lang/lua
diff options
context:
space:
mode:
authorcube <cube>2004-02-24 00:05:26 +0000
committercube <cube>2004-02-24 00:05:26 +0000
commit59f0998fad791a5cc8dc65fd60e94c0909ea5ca8 (patch)
treea32acb39b80d616fef48d39107d2c95426c573e4 /lang/lua
parent8e6095331e84ac8889d2f1cf6b152c88f9eb1fe9 (diff)
downloadpkgsrc-59f0998fad791a5cc8dc65fd60e94c0909ea5ca8.tar.gz
bl3ification needed by new ion. Reported by Stoned Elipot and Krister
Walfridsson. ``Oops''.
Diffstat (limited to 'lang/lua')
-rw-r--r--lang/lua/Makefile4
-rw-r--r--lang/lua/buildlink3.mk16
2 files changed, 18 insertions, 2 deletions
diff --git a/lang/lua/Makefile b/lang/lua/Makefile
index 4caa689fd7f..281d14fa2fe 100644
--- a/lang/lua/Makefile
+++ b/lang/lua/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2004/01/26 13:55:14 abs Exp $
+# $NetBSD: Makefile,v 1.12 2004/02/24 00:05:26 cube Exp $
DISTNAME= lua-5.0.1
PKGREVISION= 1
@@ -20,7 +20,7 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.lua.org/
COMMENT= Powerful light-weight language for extending applications
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
MAKE_ENV+= NOGCCERROR=yes
BUILD_DIRS= ${WRKSRC}/objdir
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/+$//}