blob: 15732b63930c17ee9a5897153dc63415fe16bf55 (
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
28
29
30
|
# $NetBSD: options.mk,v 1.1 2012/07/06 09:29:14 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ocamlnet
PKG_SUPPORTED_OPTIONS= ssl gtk
PKG_SUGGESTED_OPTIONS= ssl
.include "../../mk/bsd.prefs.mk"
.include "../../mk/bsd.options.mk"
###
### SSL support
###
.if !empty(PKG_OPTIONS:Mssl)
. include "../../security/ocaml-ssl/buildlink3.mk"
CONFIGURE_ARGS+= -enable-ssl
PLIST.ssl= yes
.else
CONFIGURE_ARGS+= -disable-ssl
.endif
###
### GTK(1) support
###
.if !empty(PKG_OPTIONS:Mgtk)
. include "../../x11/lablgtk1/buildlink3.mk"
CONFIGURE_ARGS+= -enable-gtk
.else
CONFIGURE_ARGS+= -disable-gtk
.endif
|