diff options
author | bapt <bapt@FreeBSD.org> | 2014-05-26 23:28:28 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-05-26 23:28:28 +0800 |
commit | e6b8ed87b5e99e0ddfa7f575594f03f1992cf201 (patch) | |
tree | 1485083919fd5b153bf056ea17ac895ea758a8a9 /net-p2p | |
parent | 729d5d5ddb37fd2035af319a95b99466360a2e7e (diff) | |
download | freebsd-ports-gnome-e6b8ed87b5e99e0ddfa7f575594f03f1992cf201.tar.gz freebsd-ports-gnome-e6b8ed87b5e99e0ddfa7f575594f03f1992cf201.tar.zst freebsd-ports-gnome-e6b8ed87b5e99e0ddfa7f575594f03f1992cf201.zip |
Replace lang/lua with the new lang/lua51
lang/lua51 is working the same way lang/lua52, chase ports using lua 5.1
Make the default lua lua52
Make all lua ports using USES=lua
Approved by: portmgr (implicit)
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/eiskaltdcpp-lib/Makefile | 8 | ||||
-rw-r--r-- | net-p2p/verlihub-plugins-luascript/Makefile | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/net-p2p/eiskaltdcpp-lib/Makefile b/net-p2p/eiskaltdcpp-lib/Makefile index e9c63fa6720a..140759dafc00 100644 --- a/net-p2p/eiskaltdcpp-lib/Makefile +++ b/net-p2p/eiskaltdcpp-lib/Makefile @@ -18,9 +18,7 @@ BUILD_DEPENDS+= chrpath:${PORTSDIR}/devel/chrpath PROJECTHOST= eiskaltdc -USE_XZ= yes -USE_GCC= yes -USES= cmake gettext +USES= cmake gettext tar:xz compiler:gcc-c++11-lib USE_OPENSSL= yes USE_LDCONFIG= yes @@ -38,9 +36,9 @@ CMAKE_ARGS+= -DUSE_MINIUPNP:BOOL=OFF CMAKE_ARGS+= -DCMAKE_SKIP_RPATH:BOOL=ON .if ${PORT_OPTIONS:MLUA} -USE_LUA= 5.1 +USES+= lua CMAKE_ARGS+= -DLUA_SCRIPT:BOOL=ON -IGNORE= crashes on connect attempt if built with Lua support +#IGNORE= crashes on connect attempt if built with Lua support .else CMAKE_ARGS+= -DLUA_SCRIPT:BOOL=OFF .endif diff --git a/net-p2p/verlihub-plugins-luascript/Makefile b/net-p2p/verlihub-plugins-luascript/Makefile index 680adfe5a9d2..3f77fc699277 100644 --- a/net-p2p/verlihub-plugins-luascript/Makefile +++ b/net-p2p/verlihub-plugins-luascript/Makefile @@ -12,6 +12,7 @@ MAINTAINER= me@skylord.ru PLUGIN_NAME= lua PLUGIN_DESC= LuaScript +USES= lua:51 USE_LUA= 5.1 WRKSRC= ${WRKDIR}/${DISTNAME} @@ -31,7 +32,8 @@ NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MSOCKET} -LUA_COMPS+= socket:lib +BUILD_DEPENDS+= ${LUA_MODLIBDIR}/socket/core.so:${PORTSDIR}/net/luasocket +RUN_DEPENDS+= ${LUA_MODLIBDIR}/socket/core.so:${PORTSDIR}/net/luasocket CONFIGURE_ARGS+= --with-luasocket post-patch:: |