summaryrefslogtreecommitdiff
path: root/time/ocaml-mtime/options.mk
blob: 9155b4fc04c5787a3c4c01c8302dccbf0d84723a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: options.mk,v 1.1 2019/07/01 16:06:55 jaapb Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.ocaml-mtime
PKG_SUPPORTED_OPTIONS=	js_of_ocaml
PKG_SUGGESTED_OPTIONS=

.include "../../mk/bsd.prefs.mk"

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

PLIST_VARS+=	js_of_ocaml

###
### js_of_ocaml support
###
.if !empty(PKG_OPTIONS:Mjs_of_ocaml)
.include "../../devel/js_of_ocaml/buildlink3.mk"
PLIST.js_of_ocaml=	yes
OCAML_TOPKG_FLAGS+=	--with-js_of_ocaml true
.else
OCAML_TOPKG_FLAGS+= --with-js_of_ocaml false
.endif