blob: d29decdf86e6ce4e5a71ad6dd6379191827f9ad4 (
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
|
# $NetBSD: options.mk,v 1.4 2019/11/03 19:03:57 rillig Exp $
# Global and legacy options
PKG_OPTIONS_VAR= PKG_OPTIONS.elk
PKG_SUPPORTED_OPTIONS= xaw motif
PKG_SUGGESTED_OPTIONS=
.include "../../mk/bsd.options.mk"
PLIST_VARS+= x11 xaw motif
###
### x11 support
###
.if !empty(PKG_OPTIONS:Mxaw) || !empty(PKG_OPTIONS:Mmotif)
PLIST.x11= yes
. if !empty(PKG_OPTIONS:Mxaw)
PLIST.xaw= yes
CONFIGURE_ENV+= WITH_XAW="yes"
. include "../../mk/xaw.buildlink3.mk"
. else
CONFIGURE_ENV+= WITH_XAW="no"
. endif
. if !empty(PKG_OPTIONS:Mmotif)
. include "../../mk/motif.buildlink3.mk"
PLIST.motif= yes
. endif
.else
CONFIGURE_ARGS+= --without-x
.endif
|