| @@ -1,35 +1,37 @@ | | | @@ -1,35 +1,37 @@ |
1 | # $NetBSD: options.mk,v 1.7 2020/03/21 15:58:49 rillig Exp $ | | 1 | # $NetBSD: options.mk,v 1.8 2020/09/20 13:30:45 nia Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.fluxbox | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.fluxbox |
4 | PKG_SUPPORTED_OPTIONS= imlib2 xft xrender nls | | 4 | PKG_SUPPORTED_OPTIONS= imlib2 xft2 xrender nls |
5 | PKG_SUGGESTED_OPTIONS= xrender | | 5 | PKG_SUGGESTED_OPTIONS= xft2 xrender |
| | | 6 | |
| | | 7 | PKG_OPTIONS_LEGACY_OPTS+= xft:xft2 |
6 | | | 8 | |
7 | .include "../../mk/bsd.options.mk" | | 9 | .include "../../mk/bsd.options.mk" |
8 | | | 10 | |
9 | .if ${OPSYS} != "MirBSD" | | 11 | .if ${OPSYS} != "MirBSD" |
10 | PKG_SUGGESTED_OPTIONS+= nls | | 12 | PKG_SUGGESTED_OPTIONS+= nls |
11 | .endif | | 13 | .endif |
12 | | | 14 | |
13 | PLIST_VARS+= nls | | 15 | PLIST_VARS+= nls |
14 | | | 16 | |
15 | .if !empty(PKG_OPTIONS:Mimlib2) | | 17 | .if !empty(PKG_OPTIONS:Mimlib2) |
16 | CONFIGURE_ARGS+= --enable-imlib2 | | 18 | CONFIGURE_ARGS+= --enable-imlib2 |
17 | .include "../../graphics/imlib2/buildlink3.mk" | | 19 | .include "../../graphics/imlib2/buildlink3.mk" |
18 | .else | | 20 | .else |
19 | CONFIGURE_ARGS+= --disable-imlib2 | | 21 | CONFIGURE_ARGS+= --disable-imlib2 |
20 | .endif | | 22 | .endif |
21 | | | 23 | |
22 | .if !empty(PKG_OPTIONS:Mxft) | | 24 | .if !empty(PKG_OPTIONS:Mxft2) |
23 | CONFIGURE_ARGS+= --enable-xft | | 25 | CONFIGURE_ARGS+= --enable-xft |
24 | .include "../../x11/libXft/buildlink3.mk" | | 26 | .include "../../x11/libXft/buildlink3.mk" |
25 | .else | | 27 | .else |
26 | CONFIGURE_ARGS+= --disable-xft | | 28 | CONFIGURE_ARGS+= --disable-xft |
27 | .endif | | 29 | .endif |
28 | | | 30 | |
29 | .if !empty(PKG_OPTIONS:Mxrender) | | 31 | .if !empty(PKG_OPTIONS:Mxrender) |
30 | CONFIGURE_ARGS+= --enable-xrender | | 32 | CONFIGURE_ARGS+= --enable-xrender |
31 | .include "../../x11/libXrender/buildlink3.mk" | | 33 | .include "../../x11/libXrender/buildlink3.mk" |
32 | .else | | 34 | .else |
33 | CONFIGURE_ARGS+= --disable-xrender | | 35 | CONFIGURE_ARGS+= --disable-xrender |
34 | .endif | | 36 | .endif |
35 | | | 37 | |