pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/lua bl3ification needed by new ion. Reported by ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dd0c0d61a10b
branches:  trunk
changeset: 469479:dd0c0d61a10b
user:      cube <cube%pkgsrc.org@localhost>
date:      Tue Feb 24 00:05:26 2004 +0000

description:
bl3ification needed by new ion.  Reported by Stoned Elipot and Krister
Walfridsson.  ``Oops''.

diffstat:

 lang/lua/Makefile      |   4 ++--
 lang/lua/buildlink3.mk |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r 69ad75baaf4f -r dd0c0d61a10b lang/lua/Makefile
--- a/lang/lua/Makefile Mon Feb 23 23:54:39 2004 +0000
+++ b/lang/lua/Makefile Tue Feb 24 00:05:26 2004 +0000
@@ -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 @@
 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 -r 69ad75baaf4f -r dd0c0d61a10b lang/lua/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/lua/buildlink3.mk    Tue Feb 24 00:05:26 2004 +0000
@@ -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/+$//}



Home | Main Index | Thread Index | Old Index