summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2008-02-09 23:11:51 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2008-02-09 23:11:51 +0000
commit722d972bee1092fa5b66ca81cadaf298bbf60442 (patch)
treea8c9acc20aae7836c5dfef9513f8b32f5e546ac0 /Mk
parent- Update to v2.30. (diff)
- Change LUA_PREFIX default value from LOCALBASE to PREFIX.
Actually the Lua prefix should be recorded on each port and read from there (as with "*-config --prefix" scripts), instead of this assumption. But supporting PREFIX is a requirement, while supporting different custom combinations of a general PREFIX for dependencies and a different PREFIX for a specific port is not. Also the latter could be achieved by changing LOCALBASE too, or directly modifying LUA_PREFIX in this case. PR: ports/120277 Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp>
Notes
Notes: svn path=/head/; revision=206973
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.lua.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.lua.mk b/Mk/bsd.lua.mk
index f0d00735479a..32046cef039a 100644
--- a/Mk/bsd.lua.mk
+++ b/Mk/bsd.lua.mk
@@ -413,7 +413,7 @@ LUA_VER_SH?= ${LUA_VER:C/[[:digit:]]\.([[:digit:]])/\1/}
LUA_VER_STR?= ${LUA_VER:S/.//g}
# Paths.
-LUA_PREFIX?= ${LOCALBASE}
+LUA_PREFIX?= ${PREFIX}
LUA_SUBDIR?= lua${LUA_VER_STR}
LUA_BINDIR?= ${LUA_PREFIX}/bin/${LUA_SUBDIR}
LUA_INCDIR?= ${LUA_PREFIX}/include/${LUA_SUBDIR}