diff options
author | lx <lx@FreeBSD.org> | 2014-08-06 02:08:20 +0800 |
---|---|---|
committer | lx <lx@FreeBSD.org> | 2014-08-06 02:08:20 +0800 |
commit | 82c6d7b48806e44243cfef9576c1d4058d2282aa (patch) | |
tree | 72529747e9891bfd5320c3acf3428c4be4f508f3 /net-im/prosody/Makefile | |
parent | 13a3c1e9e7b51f1d9165241047f7d447c4ac9045 (diff) | |
download | freebsd-ports-gnome-82c6d7b48806e44243cfef9576c1d4058d2282aa.tar.gz freebsd-ports-gnome-82c6d7b48806e44243cfef9576c1d4058d2282aa.tar.zst freebsd-ports-gnome-82c6d7b48806e44243cfef9576c1d4058d2282aa.zip |
Unbreak Prosody after lua default version change.
PR: 145173
Submitted by: Nikolai Lifanov
Diffstat (limited to 'net-im/prosody/Makefile')
-rw-r--r-- | net-im/prosody/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/net-im/prosody/Makefile b/net-im/prosody/Makefile index 80986eaa2ad7..4f9403616896 100644 --- a/net-im/prosody/Makefile +++ b/net-im/prosody/Makefile @@ -3,7 +3,7 @@ PORTNAME= prosody PORTVERSION= 0.9.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-im MASTER_SITES= http://prosody.im/downloads/source/ \ http://redundancy.redundancy.org/mirror/ @@ -16,7 +16,7 @@ LICENSE= MIT RUN_DEPENDS= ${LUA_MODLIBDIR}/socket/core.so:${PORTSDIR}/net/luasocket \ ${LUA_MODLIBDIR}/ssl.so:${PORTSDIR}/security/luasec \ ${LUA_MODLIBDIR}/lxp.so:${PORTSDIR}/textproc/luaexpat \ - ${LUA_MODLIBDIR}/lfs.so:${PORTSDIR}/devel/luafilesystem \ + ${LUA_MODLIBDIR}/lfs.so:${PORTSDIR}/devel/luafilesystem-51 LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn @@ -47,11 +47,14 @@ CONFIGURE_ARGS+= --runwith=`which luajit` .else CONFIGURE_ARGS+= --runwith=`which ${LUA_CMD}` .endif -CONFIGURE_ARGS+= --ostype=freebsd --c-compiler="${CC}" --linker="${LD}" +CONFIGURE_ARGS+= --ostype=freebsd --c-compiler="${CC}" --linker="${LD}" --with-lua-include="${LUA_INCDIR}" CONFIGURE_ENV+= LOCALBASE="${LOCALBASE}" PREFIX="${PREFIX}" LUA_SUFFIX="-${LUA_VER}" LUA_LIBDIR="${LUA_LIBDIR}" LUA_INCDIR="${LUA_INCDIR}" SUB_FILES= pkg-deinstall SUB_LIST= USERS=${USERS} GROUPS=${GROUPS} PLIST_SUB= PROSODY_USER=${USERS} PROSODY_GROUP=${GROUPS} +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/prosody/util/*.so + .include <bsd.port.post.mk> |