| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: options.mk,v 1.16 2012/09/29 23:34:11 dholland Exp $ | | 1 | # $NetBSD: options.mk,v 1.17 2013/03/16 22:41:50 dholland Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.graphviz | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.graphviz |
4 | PKG_SUPPORTED_OPTIONS= gd ghostscript gtk guile lua ocaml pangocairo rsvg tcl x11 perl | | 4 | PKG_SUPPORTED_OPTIONS= gd ghostscript gtk guile lua ocaml pangocairo rsvg tcl x11 perl |
5 | PKG_SUGGESTED_OPTIONS= gd gtk lua pangocairo perl tcl x11 | | 5 | PKG_SUGGESTED_OPTIONS= gd gtk lua pangocairo perl tcl x11 |
6 | # Explanation of consequence of options, to help those trying to slim down: | | 6 | # Explanation of consequence of options, to help those trying to slim down: |
7 | # guile ocaml lua tcl perl: extension language support | | 7 | # guile ocaml lua tcl perl: extension language support |
8 | # x11: Omits all linking with x11, which means x11 graphics supports as | | 8 | # x11: Omits all linking with x11, which means x11 graphics supports as |
9 | # well as x11 frontend support. | | 9 | # well as x11 frontend support. |
10 | # pangocairo: basic ps/pdf support. | | 10 | # pangocairo: basic ps/pdf support. |
11 | # gtk: basic graphic format support (in addition to gd, which isn't | | 11 | # gtk: basic graphic format support (in addition to gd, which isn't |
12 | # maintained anymore) | | 12 | # maintained anymore) |
13 | # rsvg: Omitting loses svg support. librsvg has large dependencies | | 13 | # rsvg: Omitting loses svg support. librsvg has large dependencies |
14 | # including some GNOME libs. | | 14 | # including some GNOME libs. |
| @@ -20,27 +20,27 @@ PKG_SUGGESTED_OPTIONS= gd gtk lua pangoc | | | @@ -20,27 +20,27 @@ PKG_SUGGESTED_OPTIONS= gd gtk lua pangoc |
20 | PLIST_VARS+= gd ghostscript gtk guile lua ocaml pangocairo perl rsvg tcl x11 | | 20 | PLIST_VARS+= gd ghostscript gtk guile lua ocaml pangocairo perl rsvg tcl x11 |
21 | | | 21 | |
22 | .if !empty(PKG_OPTIONS:Mx11) | | 22 | .if !empty(PKG_OPTIONS:Mx11) |
23 | .include "../../mk/xaw.buildlink3.mk" | | 23 | .include "../../mk/xaw.buildlink3.mk" |
24 | CONFIGURE_ENV+= X11PREFIX=${X11PREFIX} X11BASE=${X11BASE} | | 24 | CONFIGURE_ENV+= X11PREFIX=${X11PREFIX} X11BASE=${X11BASE} |
25 | PLIST.x11= yes | | 25 | PLIST.x11= yes |
26 | | | 26 | |
27 | . if !empty(PKG_OPTIONS:Mpangocairo) | | 27 | . if !empty(PKG_OPTIONS:Mpangocairo) |
28 | . include "../../devel/pango/buildlink3.mk" | | 28 | . include "../../devel/pango/buildlink3.mk" |
29 | . include "../../graphics/cairo/buildlink3.mk" | | 29 | . include "../../graphics/cairo/buildlink3.mk" |
30 | PLIST.pangocairo= yes | | 30 | PLIST.pangocairo= yes |
31 | | | 31 | |
32 | . if !empty(PKG_OPTIONS:Mghostscript) | | 32 | . if !empty(PKG_OPTIONS:Mghostscript) |
33 | . include "../../print/ghostscript/buildlink3.mk" | | 33 | . include "../../print/ghostscript/ghostscript.buildlink3.mk" |
34 | PLIST.ghostscript= yes | | 34 | PLIST.ghostscript= yes |
35 | . else | | 35 | . else |
36 | CONFIGURE_ARGS+= --without-ghostscript | | 36 | CONFIGURE_ARGS+= --without-ghostscript |
37 | . endif | | 37 | . endif |
38 | | | 38 | |
39 | . if !empty(PKG_OPTIONS:Mgtk) | | 39 | . if !empty(PKG_OPTIONS:Mgtk) |
40 | . include "../../x11/gtk2/buildlink3.mk" | | 40 | . include "../../x11/gtk2/buildlink3.mk" |
41 | PLIST.gtk= yes | | 41 | PLIST.gtk= yes |
42 | . else | | 42 | . else |
43 | CONFIGURE_ARGS+= --without-gdk-pixbuf | | 43 | CONFIGURE_ARGS+= --without-gdk-pixbuf |
44 | CONFIGURE_ARGS+= --without-gtk | | 44 | CONFIGURE_ARGS+= --without-gtk |
45 | CONFIGURE_ARGS+= --without-gnomeui | | 45 | CONFIGURE_ARGS+= --without-gnomeui |
46 | . endif | | 46 | . endif |