Skip to content

Commit

Permalink
mail-filter/rspamd: add gd dependency for 9999 version (fixes bug 601…
Browse files Browse the repository at this point in the history
…856)

Package-Manager: Portage-2.3.0, Repoman-2.3.1
  • Loading branch information
djc committed Jan 3, 2017
1 parent 071b6bc commit 073fef1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions mail-filter/rspamd/rspamd-9999.ebuild
Original file line number Diff line number Diff line change
@@ -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$

Expand All @@ -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 )
Expand All @@ -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}"

Expand All @@ -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
}
Expand Down

0 comments on commit 073fef1

Please sign in to comment.