From 9fed1da798d08055bfe6cf3b5c0e8440408f815d Mon Sep 17 00:00:00 2001
From: Matthias Andree <mandree@FreeBSD.org>
Date: Fri, 13 Apr 2012 18:18:54 +0000
Subject: Clarify effect of __MAKE_CONF change, and point to Wiki URL (in a
 comment).

---
 lang/lua/Makefile | 3 +++
 1 file changed, 3 insertions(+)

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
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0