pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/prosody Update Lua module depends for multiversio...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fc01f296ae9f
branches: trunk
changeset: 626006:fc01f296ae9f
user: dholland <dholland%pkgsrc.org@localhost>
date: Wed Oct 30 06:19:17 2013 +0000
description:
Update Lua module depends for multiversion environment; use REPLACE_LUA.
diffstat:
chat/prosody/Makefile | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
diffs (45 lines):
diff -r 798a9c0e0c52 -r fc01f296ae9f chat/prosody/Makefile
--- a/chat/prosody/Makefile Wed Oct 30 06:18:34 2013 +0000
+++ b/chat/prosody/Makefile Wed Oct 30 06:19:17 2013 +0000
@@ -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 @@
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 @@
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_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"
Home |
Main Index |
Thread Index |
Old Index