aboutsummaryrefslogtreecommitdiff
path: root/lang/lua/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/lua/Makefile')
-rw-r--r--lang/lua/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/lua/Makefile b/lang/lua/Makefile
index 3908eec12c69..fe962987e724 100644
--- a/lang/lua/Makefile
+++ b/lang/lua/Makefile
@@ -27,6 +27,9 @@ MAKE_ENV= LUA_SONAME="liblua-${LUA_VER}.so.${LUA_VER_SH}"
# Overriding __MAKE_CONF makes sure that we don't re-parse
# /etc/make.conf during do-build, which would jeopardize the build
# if, for instance, the user set CFLAGS=mumble
+# NOTE: /etc/make.conf is read BEFORE Makefile, so we already
+# have its settings when we get here.
+# See http://wiki.freebsd.org/MatthiasAndree/LuaLessonsLearnt
MAKE_ARGS= __MAKE_CONF=${NONEXISTENT}
MAN1= lua-${LUA_VER}.1 luac-${LUA_VER}.1