| @@ -1,18 +1,18 @@ | | | @@ -1,18 +1,18 @@ |
1 | # $NetBSD: options.mk,v 1.7 2020/05/23 12:16:49 gdt Exp $ | | 1 | # $NetBSD: options.mk,v 1.8 2020/07/29 10:44:32 jmcneill Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.ghostscript | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.ghostscript |
4 | PKG_SUPPORTED_OPTIONS= x11 cups debug fontconfig disable-compile-inits utf8 | | 4 | PKG_SUPPORTED_OPTIONS= x11 cups debug fontconfig disable-compile-inits utf8 |
5 | PKG_SUGGESTED_OPTIONS= x11 fontconfig | | 5 | PKG_SUGGESTED_OPTIONS= x11 cups fontconfig |
6 | | | 6 | |
7 | .include "../../mk/bsd.options.mk" | | 7 | .include "../../mk/bsd.options.mk" |
8 | | | 8 | |
9 | # (no_cidfmap) when --disable-compile-inits selected, | | 9 | # (no_cidfmap) when --disable-compile-inits selected, |
10 | # cidfmap is renamed to cidfmap.dist | | 10 | # cidfmap is renamed to cidfmap.dist |
11 | PLIST_VARS+= no_cidfmap | | 11 | PLIST_VARS+= no_cidfmap |
12 | | | 12 | |
13 | .if !empty(PKG_OPTIONS:Mx11) | | 13 | .if !empty(PKG_OPTIONS:Mx11) |
14 | CONFIGURE_ARGS+= --with-x | | 14 | CONFIGURE_ARGS+= --with-x |
15 | .include "../../x11/libX11/buildlink3.mk" | | 15 | .include "../../x11/libX11/buildlink3.mk" |
16 | .include "../../x11/libXt/buildlink3.mk" | | 16 | .include "../../x11/libXt/buildlink3.mk" |
17 | .include "../../x11/libXext/buildlink3.mk" | | 17 | .include "../../x11/libXext/buildlink3.mk" |
18 | .else | | 18 | .else |
| @@ -20,27 +20,27 @@ CONFIGURE_ARGS+= --without-x | | | @@ -20,27 +20,27 @@ CONFIGURE_ARGS+= --without-x |
20 | .endif | | 20 | .endif |
21 | | | 21 | |
22 | .if !empty(PKG_OPTIONS:Mcups) | | 22 | .if !empty(PKG_OPTIONS:Mcups) |
23 | CONFIGURE_ARGS+= --enable-cups | | 23 | CONFIGURE_ARGS+= --enable-cups |
24 | | | 24 | |
25 | # # Because nothing is installed, this is not necessary. It remains in | | 25 | # # Because nothing is installed, this is not necessary. It remains in |
26 | # # case a later version does install something. | | 26 | # # case a later version does install something. |
27 | # SUBST_CLASSES+= cupsetc | | 27 | # SUBST_CLASSES+= cupsetc |
28 | # SUBST_STAGE.cupsetc= post-extract | | 28 | # SUBST_STAGE.cupsetc= post-extract |
29 | # SUBST_MESSAGE.cupsetc= Fixing CUPS etc directory path to install as example | | 29 | # SUBST_MESSAGE.cupsetc= Fixing CUPS etc directory path to install as example |
30 | # SUBST_FILES.cupsetc= cups/cups.mak | | 30 | # SUBST_FILES.cupsetc= cups/cups.mak |
31 | # SUBST_SED.cupsetc= -e 's|$$(CUPSSERVERROOT)|${CUPS_EGDIR}|g' | | 31 | # SUBST_SED.cupsetc= -e 's|$$(CUPSSERVERROOT)|${CUPS_EGDIR}|g' |
32 | | | 32 | |
33 | .include "../../print/cups-base/buildlink3.mk" | | 33 | .include "../../print/libcups/buildlink3.mk" |
34 | .else | | 34 | .else |
35 | CONFIGURE_ARGS+= --disable-cups | | 35 | CONFIGURE_ARGS+= --disable-cups |
36 | .endif | | 36 | .endif |
37 | | | 37 | |
38 | .if !empty(PKG_OPTIONS:Mdebug) | | 38 | .if !empty(PKG_OPTIONS:Mdebug) |
39 | CONFIGURE_ARGS+= --enable-debug | | 39 | CONFIGURE_ARGS+= --enable-debug |
40 | .endif | | 40 | .endif |
41 | | | 41 | |
42 | .if !empty(PKG_OPTIONS:Mfontconfig) | | 42 | .if !empty(PKG_OPTIONS:Mfontconfig) |
43 | .include "../../fonts/fontconfig/buildlink3.mk" | | 43 | .include "../../fonts/fontconfig/buildlink3.mk" |
44 | .else | | 44 | .else |
45 | CONFIGURE_ARGS+= --disable-fontconfig | | 45 | CONFIGURE_ARGS+= --disable-fontconfig |
46 | .endif | | 46 | .endif |