svn commit: r340984 - in head/net-im/prosody: . files

David Thiel lx at FreeBSD.org
Sat Jan 25 05:06:31 UTC 2014


Author: lx
Date: Sat Jan 25 05:06:30 2014
New Revision: 340984
URL: http://svnweb.freebsd.org/changeset/ports/340984
QAT: https://qat.redports.org/buildarchive/r340984/

Log:
  Fix on 10 and tweak rc script.

Modified:
  head/net-im/prosody/Makefile
  head/net-im/prosody/files/prosody.in

Modified: head/net-im/prosody/Makefile
==============================================================================
--- head/net-im/prosody/Makefile	Sat Jan 25 02:42:22 2014	(r340983)
+++ head/net-im/prosody/Makefile	Sat Jan 25 05:06:30 2014	(r340984)
@@ -26,7 +26,7 @@ WANT_LUA_VER=	5.1
 USE_GMAKE=	yes
 
 HAS_CONFIGURE=	yes
-CONFIGURE_ARGS+="--ostype=freebsd"
+CONFIGURE_ARGS+=	--ostype=freebsd --c-compiler="${CC}" --linker="${LD}"
 CONFIGURE_ENV+=	LOCALBASE="${LOCALBASE}" PREFIX="${PREFIX}" LUA_SUFFIX="-${LUA_VER}" LUA_LIBDIR="${LUA_LIBDIR}" LUA_INCDIR="${LUA_INCDIR}"
 
 SUB_FILES=	pkg-install pkg-deinstall

Modified: head/net-im/prosody/files/prosody.in
==============================================================================
--- head/net-im/prosody/files/prosody.in	Sat Jan 25 02:42:22 2014	(r340983)
+++ head/net-im/prosody/files/prosody.in	Sat Jan 25 05:06:30 2014	(r340984)
@@ -16,12 +16,12 @@
 
 name="prosody"
 rcvar=prosody_enable
-pidfile="%%PREFIX%%/var/lib/prosody/prosody.pid"
 command="%%PREFIX%%/bin/prosodyctl"
 
 load_rc_config $name
 
-prosody=${prosody_enable-"NO"}
+prosody_enable=${prosody_enable:-"NO"}
+pidfile=${prosody_pidfile:-"%%PREFIX%%/var/lib/prosody/prosody.pid"}
 
 extra_commands="status"
 


More information about the svn-ports-all mailing list