diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2025-06-26 07:12:41 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2025-07-08 14:29:16 +0000 |
| commit | c508393e49fc4d18cf40fa439a9e625bde93a68f (patch) | |
| tree | 64d89a7a1baf065cc5cae2449430c4a95b8e9335 /libexec/flua | |
| parent | 4ea761b726fe6a3531a7f7a17933226c03a7c772 (diff) | |
lyaml: vendor import lua bindings for libyaml
(cherry picked from commit 2bc180ef045e5911cce0cea1c2a139cffd2b577a)
Diffstat (limited to 'libexec/flua')
| -rw-r--r-- | libexec/flua/Makefile | 1 | ||||
| -rw-r--r-- | libexec/flua/liblyaml/Makefile | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/libexec/flua/Makefile b/libexec/flua/Makefile index 4b4b2c94eca4..a788bb57dcd7 100644 --- a/libexec/flua/Makefile +++ b/libexec/flua/Makefile @@ -5,6 +5,7 @@ SUBDIR+= libfreebsd SUBDIR+= libhash SUBDIR+= libjail SUBDIR+= libucl +SUBDIR+= liblyaml LUASRC?= ${SRCTOP}/contrib/lua/src .PATH: ${LUASRC} diff --git a/libexec/flua/liblyaml/Makefile b/libexec/flua/liblyaml/Makefile new file mode 100644 index 000000000000..e7a89d09bb9e --- /dev/null +++ b/libexec/flua/liblyaml/Makefile @@ -0,0 +1,22 @@ +SHLIB_NAME= yaml.so + +WARNS= 1 +LYAMLSRC?= ${SRCTOP}/contrib/lyaml +.PATH: ${LYAMLSRC}/ext/yaml ${LYAMLSRC}/lib/lyaml +SRCS= emitter.c \ + parser.c \ + scanner.c \ + yaml.c +CFLAGS+= \ + -I${LYAMLSRC}/ext/yaml \ + -I${SRCTOP}/contrib/libyaml/include \ + -DVERSION=\"6.2.8\" +LIBADD+= yaml + +FILES= explicit.lua \ + functional.lua \ + implicit.lua \ + init.lua +FILESDIR= ${SHAREDIR}/flua/lyaml + +.include <bsd.lib.mk> |
