summaryrefslogtreecommitdiff
path: root/misc/dose3/options.mk
blob: 874fc906a1bca970cb61326714423cd90c6f90ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $NetBSD: options.mk,v 1.1 2014/11/06 11:59:17 jaapb Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.dose3

PKG_SUPPORTED_OPTIONS=		ocamlgraph
PKG_SUGGESTED_OPTIONS=		ocamlgraph

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

###
### Use Ocamlgraph
###
PLIST_VARS+=	ocamlgraph
.if !empty(PKG_OPTIONS:Mocamlgraph)
.include "../../devel/ocamlgraph/buildlink3.mk"
CONFIGURE_ARGS+=	--with-ocamlgraph
PLIST.ocamlgraph=	yes
.else
CONFIGURE_ARGS+=	--without-ocamlgraph
.endif