summaryrefslogtreecommitdiff
path: root/graphics/aalib/options.mk
blob: c39db834c31c0a8d5557a45c3af020346be40623 (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
# $NetBSD: options.mk,v 1.4 2019/11/02 22:37:53 rillig Exp $

PKG_OPTIONS_VAR=		PKG_OPTIONS.aalib
PKG_SUPPORTED_OPTIONS=		curses slang x11
PKG_SUGGESTED_OPTIONS=		curses x11
PKG_OPTIONS_LEGACY_OPTS+=	ncurses:curses

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

.if !empty(PKG_OPTIONS:Mcurses)
.  include "../../mk/curses.buildlink3.mk"
CONFIGURE_ARGS+=	--with-curses-driver=yes
.else
CONFIGURE_ARGS+=	--with-curses-driver=no
.endif

.if !empty(PKG_OPTIONS:Mslang)
.  include "../../devel/libslang/buildlink3.mk"
CONFIGURE_ARGS+=	--with-slang-driver=yes
.else
CONFIGURE_ARGS+=	--with-slang-driver=no
.endif

.if !empty(PKG_OPTIONS:Mx11)
.  include "../../x11/libX11/buildlink3.mk"
CONFIGURE_ARGS+=	--with-x11-driver=yes
.else
CONFIGURE_ARGS+=	--with-x11-driver=no
.endif