summaryrefslogtreecommitdiff
path: root/mail/rspamd/options.mk
blob: cbf1abd95efa2bbe8a68afa9195c9c77bc892a40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $NetBSD: options.mk,v 1.2 2017/04/19 18:31:30 wiz Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.rspamd

PKG_SUPPORTED_OPTIONS=	gd

.include "../../mk/bsd.options.mk"

###
### Enable fuzzy matching for images
###
.if !empty(PKG_OPTIONS:Mgd)
.include "../../graphics/gd/buildlink3.mk"
CMAKE_ARGS+=	-DENABLE_GD=ON
.else
CMAKE_ARGS+=	-DENABLE_GD=OFF
.endif