commit:     073fef1eab203c875e835b929ef36520189f4125
Author:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  3 15:08:31 2017 +0000
Commit:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
CommitDate: Tue Jan  3 15:09:19 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=073fef1e

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 97b9652..109bc72 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
 }

Reply via email to