blob: d431634030f7dc6e94c022dff0dfa4c4cf61ceb9 (
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
31
32
33
34
35
36
37
|
# $NetBSD: options.mk,v 1.1 2005/07/28 19:21:02 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libcaca
PKG_SUPPORTED_OPTIONS= imlib2
PKG_OPTIONS_NONEMPTY_SETS= driver
PKG_OPTIONS_SET.driver= ncurses slang x11
PKG_SUGGESTED_OPTIONS= ncurses
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mimlib2)
. include "../../graphics/imlib2/buildlink3.mk"
CONFIGURE_ARGS+= --enable-imlib2
.else
CONFIGURE_ARGS+= --disable-imlib2
.endif
.if !empty(PKG_OPTIONS:Mncurses)
. include "../../devel/ncurses/buildlink3.mk"
CONFIGURE_ARGS+= --enable-ncurses
.else
CONFIGURE_ARGS+= --disable-ncurses
.endif
.if !empty(PKG_OPTIONS:Mslang)
. include "../../devel/libslang/buildlink3.mk"
CONFIGURE_ARGS+= --enable-slang
.else
CONFIGURE_ARGS+= --disable-slang
.endif
.if !empty(PKG_OPTIONS:Mx11)
. include "../../mk/x11.buildlink3.mk"
CONFIGURE_ARGS+= --enable-x11
.else
CONFIGURE_ARGS+= --disable-x11
.endif
|