| @@ -1,24 +1,24 @@ | | | @@ -1,24 +1,24 @@ |
1 | # $NetBSD: options.mk,v 1.53 2017/03/09 09:51:04 jperkin Exp $ | | 1 | # $NetBSD: options.mk,v 1.54 2017/03/20 23:59:01 gdt Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib |
4 | PKG_SUPPORTED_OPTIONS= llvm dri | | 4 | PKG_SUPPORTED_OPTIONS= llvm dri |
5 | PKG_SUGGESTED_OPTIONS= | | 5 | PKG_SUGGESTED_OPTIONS= |
6 | | | 6 | |
7 | # The LLVM option enables JIT accelerated software rendering and | | 7 | # The LLVM option enables JIT accelerated software rendering and |
8 | # is also required to support the latest RADEON GPUs, so enable it | | 8 | # is also required to support the latest RADEON GPUs, so enable it |
9 | # by default on platforms where such GPUs might be encountered. | | 9 | # by default on platforms where such GPUs might be encountered. |
10 | .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") && \ | | 10 | .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") && \ |
11 | ${OPSYS} != "SunOS" | | 11 | ${OPSYS} != "SunOS" && ${OPSYS} != "Darwin" |
12 | PKG_SUGGESTED_OPTIONS+= llvm | | 12 | PKG_SUGGESTED_OPTIONS+= llvm |
13 | .endif | | 13 | .endif |
14 | | | 14 | |
15 | .if ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" || \ | | 15 | .if ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" || \ |
16 | ${OPSYS} == "DragonFly" || ${OPSYS} == "Linux" || \ | | 16 | ${OPSYS} == "DragonFly" || ${OPSYS} == "Linux" || \ |
17 | ${OPSYS} == "SunOS" || ${OPSYS} == "NetBSD" || \ | | 17 | ${OPSYS} == "SunOS" || ${OPSYS} == "NetBSD" || \ |
18 | ${OPSYS} == "Darwin" | | 18 | ${OPSYS} == "Darwin" |
19 | PKG_SUGGESTED_OPTIONS+= dri | | 19 | PKG_SUGGESTED_OPTIONS+= dri |
20 | .endif | | 20 | .endif |
21 | | | 21 | |
22 | .include "../../mk/bsd.options.mk" | | 22 | .include "../../mk/bsd.options.mk" |
23 | | | 23 | |
24 | # gallium | | 24 | # gallium |