summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-04-18 20:00:16 +0200
committerPacho Ramos <pacho@gentoo.org>2018-04-18 20:11:44 +0200
commit0763981ae04d106f57842fe2ab5196568a7c500e (patch)
tree4c45bb16237f61643393efb60df4875c5e475334 /net-im/ejabberd
parentmail-client/trojita: Fix USE=password switch, requires USE=dbus (diff)
downloadgentoo-0763981ae04d106f57842fe2ab5196568a7c500e.tar.gz
gentoo-0763981ae04d106f57842fe2ab5196568a7c500e.tar.bz2
gentoo-0763981ae04d106f57842fe2ab5196568a7c500e.zip
net-im/ejabberd: Fix compilation against newer erlang (#651932)
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'net-im/ejabberd')
-rw-r--r--net-im/ejabberd/ejabberd-17.04-r2.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/net-im/ejabberd/ejabberd-17.04-r2.ebuild b/net-im/ejabberd/ejabberd-17.04-r2.ebuild
index 3d86277c7cd..8d05cca058b 100644
--- a/net-im/ejabberd/ejabberd-17.04-r2.ebuild
+++ b/net-im/ejabberd/ejabberd-17.04-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=6
SSL_CERT_MANDATORY=1
-inherit eutils pam rebar ssl-cert systemd
+inherit autotools eutils pam rebar ssl-cert systemd
DESCRIPTION="Robust, scalable and extensible XMPP server"
HOMEPAGE="https://www.ejabberd.im/ https://github.com/processone/ejabberd/"
@@ -228,6 +228,11 @@ src_prepare() {
sed -e "s|\(ERL_LIBS=\){{libdir}}.*|\1${ejabberd_erl_libs}|" \
-i "${S}/ejabberdctl.template" \
|| die 'failed to set ERL_LIBS in ejabberdctl.template'
+
+ # https://github.com/processone/ejabberd/commit/58110e4bc152100078dbc0cb66d4a5257ae645e0,
+ # bug #651932, drop in next version
+ sed -i -e 's/REQUIRE_ERLANG_MAX="9.0.0 (No Max)"/REQUIRE_ERLANG_MAX="100.0.0 (No Max)"/' configure.ac || die
+ eautoreconf
}
src_configure() {