aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorRyan Moeller <freqlabs@FreeBSD.org>2020-06-22 03:14:43 +0000
committerRyan Moeller <freqlabs@FreeBSD.org>2020-06-22 03:14:43 +0000
commit94a82666846d62cdff7d78f78d428df35412e50d (patch)
tree4db5a48a903d7887c246376e60c1836b266a4a56 /Makefile.inc1
parentf82d3b398842c43556cc1ea854e13d8de80c5d64 (diff)
downloadsrc-94a82666846d62cdff7d78f78d428df35412e50d.tar.gz
src-94a82666846d62cdff7d78f78d428df35412e50d.zip
flua: add ucl library
libucl comes with a Lua library binding. Build it into flua. This lets us parse/generate config files in the various formats supported by libucl with flua. For example, the following script will detect the format of an object written to stdin as one of UCL config, JSON, or YAML and write it to stdout as pretty-printed JSON: local ucl = require('ucl') local parser = ucl.parser() parser:parse_string(io.read('*a')) local obj = parser:get_object() print(ucl.to_format(obj, 'json')) Reviewed by: kevans, pstef Approved by: mmacy (mentor) Relnotes: yes Differential Revision: https://reviews.freebsd.org/D25009
Notes
Notes: svn path=/head/; revision=362477
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc14
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 5197a53f24d9..7a1c24585b8e 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2112,8 +2112,8 @@ ${_bt}-lib/libdwarf: ${_bt_m4_depend}
# 13.0-CURRENT cycle, thus needs to be built on -older releases and stable
# branches.
.if ${BOOTSTRAPPING} < 1300059
-${_bt}-libexec/flua: ${_bt}-lib/liblua
-_flua= lib/liblua libexec/flua
+${_bt}-libexec/flua: ${_bt}-lib/liblua ${_bt}-lib/libucl
+_flua= lib/liblua lib/libucl libexec/flua
.endif
# r245440 mtree -N support added