Page MenuHomeFreeBSD

D25009.id73447.diff
No OneTemporary

D25009.id73447.diff

Index: libexec/flua/Makefile
===================================================================
--- libexec/flua/Makefile
+++ libexec/flua/Makefile
@@ -32,4 +32,10 @@
LIBADD+= edit
.endif
+UCLSRC?= ${SRCTOP}/contrib/libucl
+.PATH: ${UCLSRC}/lua
+SRCS+= lua_ucl.c
+CFLAGS+= -I${UCLSRC}/include -I${UCLSRC}/src -I${UCLSRC}/uthash
+LIBADD+= ucl
+
.include <bsd.prog.mk>
Index: libexec/flua/linit_flua.c
===================================================================
--- libexec/flua/linit_flua.c
+++ libexec/flua/linit_flua.c
@@ -36,6 +36,7 @@
#include "lauxlib.h"
#include "lfs.h"
#include "lposix.h"
+#include "lua_ucl.h"
/*
** these libs are loaded by lua.c and are readily available to any Lua
@@ -59,6 +60,7 @@
{"lfs", luaopen_lfs},
{"posix.sys.stat", luaopen_posix_sys_stat},
{"posix.unistd", luaopen_posix_unistd},
+ {"ucl", luaopen_ucl},
{NULL, NULL}
};

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 26, 11:21 PM (2 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26234876
Default Alt Text
D25009.id73447.diff (893 B)

Event Timeline