summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Żołnowski <aidecoe@gentoo.org>2016-08-27 14:07:04 +0100
committerAmadeusz Żołnowski <aidecoe@gentoo.org>2016-08-27 14:12:50 +0100
commit2e186ba09e162af23996042975aeb16fe14793b1 (patch)
tree05adec0f1ee30f26782d60b54d9742cd44781973 /net-im/ejabberd
parentnet-im/ejabberd: Bump revision (diff)
downloadgentoo-2e186ba09e162af23996042975aeb16fe14793b1.tar.gz
gentoo-2e186ba09e162af23996042975aeb16fe14793b1.tar.bz2
gentoo-2e186ba09e162af23996042975aeb16fe14793b1.zip
net-im/ejabberd: Move ejabberd out of /usr/lib/erlang/lib
ejabberd may override some modules if it's in default Erlang search path. Move it back to default location set by configure script which is /usr/lib. Gentoo-Bug: 591862
Diffstat (limited to 'net-im/ejabberd')
-rw-r--r--net-im/ejabberd/ejabberd-16.04-r1.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/net-im/ejabberd/ejabberd-16.04-r1.ebuild b/net-im/ejabberd/ejabberd-16.04-r1.ebuild
index 3f1c7772f4ac..104edf067014 100644
--- a/net-im/ejabberd/ejabberd-16.04-r1.ebuild
+++ b/net-im/ejabberd/ejabberd-16.04-r1.ebuild
@@ -132,8 +132,12 @@ ejabberd_cert_install() {
}
# Get path to ejabberd lib directory.
+#
+# This is the path ./configure script Base for this path is path set in
+# ./configure script which is /usr/lib by default. If libdir is explicitely set
+# to something else than this should be adjusted here as well.
get_ejabberd_path() {
- echo "$(get_erl_libs)/${P}"
+ echo "/usr/$(get_libdir)/${P}"
}
# Make ejabberd.service for systemd from upstream provided template.
@@ -188,7 +192,6 @@ src_prepare() {
src_configure() {
econf \
--docdir="${EPREFIX}/usr/share/doc/${PF}/html" \
- --libdir="${EPREFIX}$(get_erl_libs)" \
--enable-user=jabber \
$(use_enable debug) \
$(use_enable full-xml) \