| @@ -1,22 +1,22 @@ | | | @@ -1,22 +1,22 @@ |
1 | # $NetBSD: available.mk,v 1.5 2021/05/15 18:00:35 nia Exp $ | | 1 | # $NetBSD: available.mk,v 1.6 2021/08/11 00:25:35 gutteridge Exp $ |
2 | # | | 2 | # |
3 | # This mk fragment define LIBRSVG_TYPE variable used in other librsvg mk | | 3 | # This mk fragment defines the LIBRSVG_TYPE variable used in other librsvg mk |
4 | # fragments. | | 4 | # fragments. |
5 | # | | 5 | # |
6 | # User-settable variables: | | 6 | # User-settable variables: |
7 | # | | 7 | # |
8 | # LIBRSVG_TYPE | | 8 | # LIBRSVG_TYPE |
9 | # Type of used librsvg implementation. | | 9 | # Type of librsvg implementation used. |
10 | # | | 10 | # |
11 | # Possible values: c rust | | 11 | # Possible values: c rust |
12 | # Default: rust on platforms were Rust is supported | | 12 | # Default: rust on platforms were Rust is supported |
13 | # | | 13 | # |
14 | | | 14 | |
15 | .if !defined(LIBRSVG_AVAILABLE_MK) | | 15 | .if !defined(LIBRSVG_AVAILABLE_MK) |
16 | LIBRSVG_AVAILABLE_MK= defined | | 16 | LIBRSVG_AVAILABLE_MK= defined |
17 | | | 17 | |
18 | .include "../../mk/bsd.prefs.mk" | | 18 | .include "../../mk/bsd.prefs.mk" |
19 | | | 19 | |
20 | .include "../../lang/rust/platform.mk" | | 20 | .include "../../lang/rust/platform.mk" |
21 | # https://mail-index.netbsd.org/tech-pkg/2020/06/16/msg023380.html | | 21 | # https://mail-index.netbsd.org/tech-pkg/2020/06/16/msg023380.html |
22 | .if !empty(PLATFORM_SUPPORTS_RUST:M[Yy][Ee][Ss]) && \ | | 22 | .if !empty(PLATFORM_SUPPORTS_RUST:M[Yy][Ee][Ss]) && \ |