tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: builtin.mk for lua [take 2]
On Tue, 30 Dec 2014 12:05:48 +0900, Alistair Crooks <agc%pkgsrc.org@localhost> wrote:
On Tue, Oct 29, 2013 at 02:52:04AM +0100, Alistair Crooks wrote:
We're missing a builtin.mk for lua. I'll attach a provisional one
to this mail.
It gets me far enough to be able to get the following out of building
monotone.
[18:50:13] agc@netbsd-vm3 ...pkgsrc/devel/monotone [3919] > make show-var VARNAME=USE_BUILTIN.lua
yes
[18:50:23] agc@netbsd-vm3 ...pkgsrc/devel/monotone [3920] > make show-var VARNAME=BUILTIN_VERSION.lua
5.1
[18:50:33] agc@netbsd-vm3 ...pkgsrc/devel/monotone [3921] >
All comments gratefully received.
Best,
Alistair
No feedback on the above, so I've brought the lua builtin.mk up to
date, and attached it to this mail.
In lang/lua{51,52}/buildlink3.mk, lua{51,52} is added to BUILDLINK_TREE, so
USE_BUILTIN.lua{51,52} must be set.
Also, there's a diff for the lua buildlink3.mk file.
[19:01:27] agc@netbsd-002 ...pkgsrc/lang/lua [10582] > cvsdiff .
? builtin.mk
cvs diff: Diffing .
Index: buildlink3.mk
===================================================================
RCS file: /cvsroot/pkgsrc/lang/lua/buildlink3.mk,v
retrieving revision 1.17
diff -u -r1.17 buildlink3.mk
--- buildlink3.mk 30 Oct 2013 06:18:09 -0000 1.17
+++ buildlink3.mk 30 Dec 2014 03:04:25 -0000
@@ -6,6 +6,7 @@
# It is intended to be included by packages that embed the Lua
# interpreter and therefore link against Lua.
+.include "../../lang/lua/builtin.mk"
.include "../../lang/lua/luaversion.mk"
.include "${LUA_PKGSRCDIR}/buildlink3.mk"
Please try to add following instead:
BUILDLINK_BUILTIN_MK.${LUA_PACKAGE}= ../../lang/lua/builtin.mk
--
OBATA Akio / obata%lins.jp@localhost
Home |
Main Index |
Thread Index |
Old Index