| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: options.mk,v 1.9 2019/07/16 19:31:16 nia Exp $ | | 1 | # $NetBSD: options.mk,v 1.10 2020/05/15 13:13:40 rillig Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.GraphicsMagick | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.GraphicsMagick |
4 | PKG_SUPPORTED_OPTIONS= x11 jasper ghostscript wmf | | 4 | PKG_SUPPORTED_OPTIONS= x11 jasper ghostscript wmf |
5 | PKG_SUGGESTED_OPTIONS= x11 | | 5 | PKG_SUGGESTED_OPTIONS= x11 |
6 | | | 6 | |
7 | .include "../../mk/bsd.options.mk" | | 7 | .include "../../mk/bsd.options.mk" |
8 | | | 8 | |
9 | PLIST_VARS+= jasper x11 | | 9 | PLIST_VARS+= jasper x11 |
10 | | | 10 | |
11 | .if !empty(PKG_OPTIONS:Mx11) | | 11 | .if !empty(PKG_OPTIONS:Mx11) |
12 | .include "../../x11/libSM/buildlink3.mk" | | 12 | .include "../../x11/libSM/buildlink3.mk" |
13 | .include "../../x11/libX11/buildlink3.mk" | | 13 | .include "../../x11/libX11/buildlink3.mk" |
14 | .include "../../x11/libXext/buildlink3.mk" | | 14 | .include "../../x11/libXext/buildlink3.mk" |
| @@ -19,24 +19,21 @@ CONFIGURE_ARGS+= --without-x | | | @@ -19,24 +19,21 @@ CONFIGURE_ARGS+= --without-x |
19 | | | 19 | |
20 | .if !empty(PKG_OPTIONS:Mjasper) | | 20 | .if !empty(PKG_OPTIONS:Mjasper) |
21 | BUILDLINK_API_DEPENDS.jasper+= jasper>=1.701.0 | | 21 | BUILDLINK_API_DEPENDS.jasper+= jasper>=1.701.0 |
22 | .include "../../graphics/jasper/buildlink3.mk" | | 22 | .include "../../graphics/jasper/buildlink3.mk" |
23 | CONFIGURE_ARGS+= --with-jp2 | | 23 | CONFIGURE_ARGS+= --with-jp2 |
24 | PLIST.jasper= yes | | 24 | PLIST.jasper= yes |
25 | .else | | 25 | .else |
26 | CONFIGURE_ARGS+= --without-jp2 | | 26 | CONFIGURE_ARGS+= --without-jp2 |
27 | .endif | | 27 | .endif |
28 | | | 28 | |
29 | .if !empty(PKG_OPTIONS:Mghostscript) | | 29 | .if !empty(PKG_OPTIONS:Mghostscript) |
30 | USE_TOOLS+= gs:run | | 30 | USE_TOOLS+= gs:run |
31 | .include "../../print/ghostscript/buildlink3.mk" | | 31 | .include "../../print/ghostscript/buildlink3.mk" |
32 | CONFIGURE_ARGS+= --with-gslib | | | |
33 | .else | | | |
34 | CONFIGURE_ARGS+= --without-gslib | | | |
35 | .endif | | 32 | .endif |
36 | | | 33 | |
37 | .if !empty(PKG_OPTIONS:Mwmf) | | 34 | .if !empty(PKG_OPTIONS:Mwmf) |
38 | .include "../../graphics/libwmf/buildlink3.mk" | | 35 | .include "../../graphics/libwmf/buildlink3.mk" |
39 | CONFIGURE_ARGS+= --with-wmf | | 36 | CONFIGURE_ARGS+= --with-wmf |
40 | .else | | 37 | .else |
41 | CONFIGURE_ARGS+= --without-wmf | | 38 | CONFIGURE_ARGS+= --without-wmf |
42 | .endif | | 39 | .endif |