diff options
author | alepulver <alepulver@FreeBSD.org> | 2008-08-11 03:29:43 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2008-08-11 03:29:43 +0800 |
commit | aa0b418f8fdcea12f7bf1355949c13744bc236b4 (patch) | |
tree | 8765bbd4d0ec3fd64b2796bf53c64d3538744bf4 /Mk | |
parent | 41a05d76652a8757441845c8c00a610c6662edf5 (diff) | |
download | freebsd-ports-gnome-aa0b418f8fdcea12f7bf1355949c13744bc236b4.tar.gz freebsd-ports-gnome-aa0b418f8fdcea12f7bf1355949c13744bc236b4.tar.zst freebsd-ports-gnome-aa0b418f8fdcea12f7bf1355949c13744bc236b4.zip |
- Merge patch-Makefile into patch-src-Makefile (both actually patch same file).
- Patch lang/lua to behave as expected by the framework.
- Add missing library dependency (only run before) when using lua 5.1.
- Add notes in bsd.lua.mk for updating lang/lua* ports describing how they are
integrated into the ports tree.
PR: ports/126207
Submitted by: Daniel Roethlisberger <daniel@roe.ch>
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.lua.mk | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/Mk/bsd.lua.mk b/Mk/bsd.lua.mk index 3e8c9d8f7501..008429d47f94 100644 --- a/Mk/bsd.lua.mk +++ b/Mk/bsd.lua.mk @@ -105,6 +105,26 @@ # running. # USE_LUA_NOT=5.1 # +# Notes about the integration of lua related ports with bsd.lua.mk: +# (please read when updating ports referred here, see lang/lua[0-9]*) +# +# The lua/tolua ports have to be patched so they can coexist, as the internal +# application build infrastructure does not handle it automatically. Currently +# the framework provides variables to the lua ports themselves, so changing +# some things here won't require changes in lang/{lua,tolua}*. +# +# For lua ports: if they install a static library, use the same method for +# tolua ports, otherwise in addition the libraries have to be symlinked to the +# common library directory with a versioned name, and linked with the -soname +# parameter (so when a port links with -L/usr/local/lib/lua51 -llua, it stores +# the dynamic dependency as the name which figures under /usr/local/lib). +# +# For tolua ports: as it is a static library (.a), installing binaries, +# headers and libraries under a versioned directory is fine (binary has also a +# symlink). +# +# The lua modules install in a separate directory, so there is no problem. +# LUA_Include_MAINTAINER= alepulver@FreeBSD.org @@ -164,7 +184,7 @@ _LUA_PORT_pty_5.0= devel/lua50-pty _LUA_PORT_socket_5.0= net/lua50-luasocket _LUA_PORT_lua_5.1= lang/lua -_LUA_DEPTYPE_lua_5.1= build +_LUA_DEPTYPE_lua_5.1= lib _LUA_PORT_filename_5.1= devel/lua-filename _LUA_PORT_gettext_5.1= devel/lua-gettext |