diff options
author | dholland <dholland@pkgsrc.org> | 2013-10-30 06:19:17 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2013-10-30 06:19:17 +0000 |
commit | 0f8e6c1b239bf838d3ccad63e69ec79b093936fc (patch) | |
tree | 5229395b431069a55bebc598e58ce71fb337181d /chat/prosody | |
parent | a2d4b4d8c92b8ed2dab6f5abf9a5ee62cbd659ca (diff) | |
download | pkgsrc-0f8e6c1b239bf838d3ccad63e69ec79b093936fc.tar.gz |
Update Lua module depends for multiversion environment; use REPLACE_LUA.
Diffstat (limited to 'chat/prosody')
-rw-r--r-- | chat/prosody/Makefile | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/chat/prosody/Makefile b/chat/prosody/Makefile index c022d305314..ee9eb6c5a3d 100644 --- a/chat/prosody/Makefile +++ b/chat/prosody/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2013/09/13 14:37:49 fhajny Exp $ +# $NetBSD: Makefile,v 1.10 2013/10/30 06:19:17 dholland Exp $ # DISTNAME= prosody-0.9.1 @@ -10,10 +10,10 @@ HOMEPAGE= http://prosody.im/ COMMENT= Flexible communications server for Jabber/XMPP written in Lua LICENSE= mit -DEPENDS+= lua-filesystem>=1.0:../../devel/lua-filesystem -DEPENDS+= lua-expat>=1.2:../../textproc/lua-expat -DEPENDS+= lua-sec>=0.3.3:../../security/lua-sec -DEPENDS+= lua-socket>=2.0:../../net/lua-socket +DEPENDS+= ${LUA_PKGPREFIX}-filesystem>=1.0:../../devel/lua-filesystem +DEPENDS+= ${LUA_PKGPREFIX}-expat>=1.2:../../textproc/lua-expat +DEPENDS+= ${LUA_PKGPREFIX}-sec>=0.3.3:../../security/lua-sec +DEPENDS+= ${LUA_PKGPREFIX}-socket>=2.0:../../net/lua-socket HAS_CONFIGURE= yes USE_TOOLS+= gmake @@ -51,10 +51,7 @@ CONF_FILES+= ${EGDIR}/certs/localhost.key ${PKG_SYSCONFDIR}/certs/localhost.key CFLAGS+= -fPIC -Wall -DLUA_COMPAT_MODULE -REPLACE_INTERPRETER+= lua -REPLACE.lua.old= /usr/bin/env lua -REPLACE.lua.new= ${PREFIX}/bin/lua -REPLACE_FILES.lua= prosody prosodyctl +REPLACE_LUA+= prosody prosodyctl CONFIGURE_ARGS+= --prefix=${PREFIX} CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} @@ -77,6 +74,8 @@ SUBST_SED.config= -e 's,@PROSODY_DATA@,${PROSODY_DATA},' SUBST_SED.config+= -e 's,@PROSODY_LOG@,${PROSODY_LOG},' SUBST_SED.config+= -e 's,@PROSODY_RUN@,${PROSODY_RUN},' +.include "../../lang/lua/application.mk" + .include "../../devel/libidn/buildlink3.mk" .include "../../lang/lua/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" |