aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlx <lx@FreeBSD.org>2014-01-25 13:06:30 +0800
committerlx <lx@FreeBSD.org>2014-01-25 13:06:30 +0800
commit6a23ddfd2443f98ef5029182260c6388f64daa42 (patch)
treee3635de4bf76c6f63f4f75e420fab4e2e7f12169
parent75fa5e4abea5d367340e9a6b574236fddde67fb7 (diff)
downloadfreebsd-ports-gnome-6a23ddfd2443f98ef5029182260c6388f64daa42.tar.gz
freebsd-ports-gnome-6a23ddfd2443f98ef5029182260c6388f64daa42.tar.zst
freebsd-ports-gnome-6a23ddfd2443f98ef5029182260c6388f64daa42.zip
Fix on 10 and tweak rc script.
-rw-r--r--net-im/prosody/Makefile2
-rw-r--r--net-im/prosody/files/prosody.in4
2 files changed, 3 insertions, 3 deletions
diff --git a/net-im/prosody/Makefile b/net-im/prosody/Makefile
index 12238f3881e7..8768cf2870a9 100644
--- a/net-im/prosody/Makefile
+++ b/net-im/prosody/Makefile
@@ -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
diff --git a/net-im/prosody/files/prosody.in b/net-im/prosody/files/prosody.in
index e336d1eca09c..46facf947b80 100644
--- a/net-im/prosody/files/prosody.in
+++ b/net-im/prosody/files/prosody.in
@@ -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"