aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormandree <mandree@FreeBSD.org>2012-04-14 02:18:54 +0800
committermandree <mandree@FreeBSD.org>2012-04-14 02:18:54 +0800
commitd435295dce77bcbebd9d277755c6e161ce885260 (patch)
treef141928fcc48aab6ade10478818aa7bb77db0c15 /lang
parentfeebe0de203843f6cda99346352ebad699dfe8e9 (diff)
downloadfreebsd-ports-gnome-d435295dce77bcbebd9d277755c6e161ce885260.tar.gz
freebsd-ports-gnome-d435295dce77bcbebd9d277755c6e161ce885260.tar.zst
freebsd-ports-gnome-d435295dce77bcbebd9d277755c6e161ce885260.zip
Clarify effect of __MAKE_CONF change, and point to Wiki URL (in a comment).
Diffstat (limited to 'lang')
-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