From 073fef1eab203c875e835b929ef36520189f4125 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 3 Jan 2017 16:08:31 +0100 Subject: [PATCH] mail-filter/rspamd: add gd dependency for 9999 version (fixes bug 601856) Package-Manager: Portage-2.3.0, Repoman-2.3.1 --- mail-filter/rspamd/rspamd-9999.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mail-filter/rspamd/rspamd-9999.ebuild b/mail-filter/rspamd/rspamd-9999.ebuild index 97b96521da630..109bc7291ef34 100644 --- a/mail-filter/rspamd/rspamd-9999.ebuild +++ b/mail-filter/rspamd/rspamd-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -13,7 +13,7 @@ EGIT_REPO_URI="https://github.com/vstakhov/rspamd.git" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="" -IUSE="fann +jit libressl" +IUSE="fann +gd +jit libressl" RDEPEND="!libressl? ( dev-libs/openssl:0[-bindist] ) libressl? ( dev-libs/libressl:0 ) @@ -32,7 +32,8 @@ RDEPEND="!libressl? ( dev-libs/openssl:0[-bindist] ) dev-libs/gmime dev-util/ragel sys-apps/file - virtual/libiconv" + virtual/libiconv + gd? ( media-libs/gd[jpeg] )" DEPEND="dev-util/ragel ${RDEPEND}" @@ -49,6 +50,7 @@ src_configure() { -DLOGDIR=/var/log/rspamd -DENABLE_LUAJIT=$(usex jit ON OFF) -DENABLE_FANN=$(usex fann ON OFF) + -DENABLE_GD=$(usex gd ON OFF) ) cmake-utils_src_configure }