| @@ -1,22 +1,18 @@ | | | @@ -1,22 +1,18 @@ |
1 | # $NetBSD: options.mk,v 1.1 2014/02/02 16:06:19 rodent Exp $ | | 1 | # $NetBSD: options.mk,v 1.2 2014/04/18 14:44:29 adam Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.SDL2_ttf | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.SDL2_ttf |
4 | PKG_SUPPORTED_OPTIONS= opengl static x11 | | 4 | PKG_SUPPORTED_OPTIONS= static x11 |
5 | PKG_SUGGESTED_OPTIONS+= opengl static | | 5 | PKG_SUGGESTED_OPTIONS+= static |
6 | | | 6 | |
7 | .include "../../mk/bsd.options.mk" | | 7 | .include "../../mk/bsd.options.mk" |
8 | | | 8 | |
9 | .if !empty(PKG_OPTIONS:Mopengl) | | | |
10 | .include "../../graphics/MesaLib/buildlink3.mk" | | | |
11 | .endif | | | |
12 | | | | |
13 | .if !empty(PKG_OPTIONS:Mstatic) | | 9 | .if !empty(PKG_OPTIONS:Mstatic) |
14 | CONFIGURE_ARGS+= --enable-static=yes | | 10 | CONFIGURE_ARGS+= --enable-static=yes |
15 | .else | | 11 | .else |
16 | CONFIGURE_ARGS+= --enable-static=no | | 12 | CONFIGURE_ARGS+= --enable-static=no |
17 | .endif | | 13 | .endif |
18 | | | 14 | |
19 | .if !empty(PKG_OPTIONS:Mx11) | | 15 | .if !empty(PKG_OPTIONS:Mx11) |
20 | .include "../../x11/libICE/buildlink3.mk" | | 16 | .include "../../x11/libICE/buildlink3.mk" |
21 | .include "../../x11/libX11/buildlink3.mk" | | 17 | .include "../../x11/libX11/buildlink3.mk" |
22 | .endif | | 18 | .endif |