summaryrefslogtreecommitdiff
path: root/security/hydra/options.mk
blob: 39f9b0631f2fe43be7b5201d04c8f20f02e4c0ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $NetBSD: options.mk,v 1.8 2013/09/20 23:10:12 joerg Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.hydra
PKG_SUPPORTED_OPTIONS=	gtk svn pgsql

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

PLIST_VARS+=	gtk

.if !empty(PKG_OPTIONS:Mgtk)
.include "../../x11/gtk2/buildlink3.mk"
PLIST.gtk=	yes
.endif

.if !empty(PKG_OPTIONS:Msvn)
.include "../../devel/subversion-base/buildlink3.mk"
CONFIGURE_ENV+=	WITH_SVN=1
.else
CONFIGURE_ENV+=	WITH_SVN=0
.endif

.if !empty(PKG_OPTIONS:Mpgsql)
.include "../../mk/pgsql.buildlink3.mk"
CONFIGURE_ENV+=	WITH_PGSQL=1
.else
CONFIGURE_ENV+=	WITH_PGSQL=0
.endif