Date: Mon, 30 Mar 2020 20:01:44 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r359455 - head/libexec/flua Message-ID: <202003302001.02UK1iEW069836@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevans Date: Mon Mar 30 20:01:44 2020 New Revision: 359455 URL: https://svnweb.freebsd.org/changeset/base/359455 Log: flua: follow-up to r359453, don't bother with libedit in bootstrap The bootstrap flua should not be used for REPL-like activities; exclude it to save the dependency on libedit and not waste time with it. X-MFC-With: r359453 Modified: head/libexec/flua/Makefile Modified: head/libexec/flua/Makefile ============================================================================== --- head/libexec/flua/Makefile Mon Mar 30 19:10:12 2020 (r359454) +++ head/libexec/flua/Makefile Mon Mar 30 20:01:44 2020 (r359455) @@ -24,9 +24,12 @@ SRCS+= lfs.c lposix.c CFLAGS+= -I${SRCTOP}/lib/liblua -I${.CURDIR}/modules -I${LUASRC} CFLAGS+= -DLUA_PROGNAME="\"${PROG}\"" -# readline bits +# readline bits; these aren't needed if we're building a bootstrap flua, as we +# don't expect that one to see any REPL usage. +.if !defined(BOOTSTRAPPING) CFLAGS+= -DLUA_USE_READLINE CFLAGS+= -I${SRCTOP}/lib/libedit -I${SRCTOP}/contrib/libedit LIBADD+= edit +.endif .include <bsd.prog.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003302001.02UK1iEW069836>