summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-10-25 18:21:37 +0100
committerLexi Winter <ivy@FreeBSD.org>2025-10-26 02:22:47 +0000
commit957715f877b57a17545ead94d27ea8fd3ff4932a (patch)
tree20b4f7bde32797decaa167486cd0ccbd077b0ac7 /libexec
parent842942be28b21354e3f547e39fc75bf18ee5b6f7 (diff)
flua: Move to a new flua package
flua is a standalone third-party component that deserves its own package. In particular, this means things can use flua without having to depend on FreeBSD-utilities, which will be useful as more base utilities use flua. This saves ~500kB in FreeBSD-utilities for systems which don't need flua. MFC after: 3 days Reviewed by: kevans Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D53161
Diffstat (limited to 'libexec')
-rw-r--r--libexec/flua/Makefile2
-rw-r--r--libexec/flua/Makefile.inc2
2 files changed, 4 insertions, 0 deletions
diff --git a/libexec/flua/Makefile b/libexec/flua/Makefile
index 23de404710d0..f1c46b270ded 100644
--- a/libexec/flua/Makefile
+++ b/libexec/flua/Makefile
@@ -1,5 +1,7 @@
.include <src.lua.mk>
+PACKAGE= flua
+
# New flua modules should be added here rather than to SUBDIR so that we can do
# the right thing for both bootstrap flua and target flua. The former does not
# do any shared libs, so we just build them all straight into flua itself rather
diff --git a/libexec/flua/Makefile.inc b/libexec/flua/Makefile.inc
index 37a49e258ecb..5e214c76921b 100644
--- a/libexec/flua/Makefile.inc
+++ b/libexec/flua/Makefile.inc
@@ -1,3 +1,5 @@
+PACKAGE= flua
+
SHLIBDIR?= ${LIBDIR}/flua
CFLAGS+= \