Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Aug 2014 18:08:20 +0000 (UTC)
From:      David Thiel <lx@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364128 - head/net-im/prosody
Message-ID:  <53e11d94.5e19.169b8e36@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lx
Date: Tue Aug  5 18:08:20 2014
New Revision: 364128
URL: http://svnweb.freebsd.org/changeset/ports/364128
QAT: https://qat.redports.org/buildarchive/r364128/

Log:
  Unbreak Prosody after lua default version change.
  
  PR:		145173
  Submitted by:	Nikolai Lifanov

Modified:
  head/net-im/prosody/Makefile

Modified: head/net-im/prosody/Makefile
==============================================================================
--- head/net-im/prosody/Makefile	Tue Aug  5 18:06:47 2014	(r364127)
+++ head/net-im/prosody/Makefile	Tue Aug  5 18:08:20 2014	(r364128)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e11d94.5e19.169b8e36>