blob: 6c46b4392a10c87d6634513252747d47d62ee22f (
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.6 2022/05/24 18:25:38 jaapb Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ocaml
PKG_SUPPORTED_OPTIONS= pic flambda
PKG_SUGGESTED_OPTIONS= pic
.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mpic)
CONFIGURE_ARGS+= --with-pic
.else
CONFIGURE_ARGS+= --without-pic
.endif
.if !empty(PKG_OPTIONS:Mflambda)
CONFIGURE_ARGS+= --enable-flambda
.else
CONFIGURE_ARGS+= --disable-flambda
.endif
|