| @@ -1,32 +1,32 @@ | | | @@ -1,32 +1,32 @@ |
1 | # $NetBSD: options.mk,v 1.1 2014/12/27 00:13:28 dholland Exp $ | | 1 | # $NetBSD: options.mk,v 1.1.2.1 2015/02/05 19:40:14 tron Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.smalltalk | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.smalltalk |
4 | PKG_SUPPORTED_OPTIONS= cairo curses expat gdbm gtk opengl readline sdl sqlite tk | | 4 | PKG_SUPPORTED_OPTIONS= cairo curses expat gdbm gtk opengl readline sdl sqlite tk |
5 | PKG_SUGGESTED_OPTIONS= cairo curses expat gdbm gtk opengl readline tk | | 5 | PKG_SUGGESTED_OPTIONS= cairo curses expat gdbm gtk opengl readline tk |
6 | | | 6 | |
7 | PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS} | | 7 | PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS} |
8 | PLIST_VARS+= blox | | 8 | PLIST_VARS+= blox |
9 | | | 9 | |
10 | .include "../../mk/bsd.options.mk" | | 10 | .include "../../mk/bsd.options.mk" |
11 | | | 11 | |
12 | .if !empty(PKG_OPTIONS:Mcairo) | | 12 | .if !empty(PKG_OPTIONS:Mcairo) |
13 | PLIST.cairo= yes | | 13 | PLIST.cairo= yes |
14 | . include "../../graphics/cairo/buildlink3.mk" | | 14 | . include "../../graphics/cairo/buildlink3.mk" |
15 | .else | | 15 | .else |
16 | CONFIGURE_ARGS+= --disable-cairo | | 16 | CONFIGURE_ARGS+= --disable-cairo |
17 | .endif | | 17 | .endif |
18 | | | 18 | |
19 | .if !empty(PKG_OPTIONS.Mcurses) | | 19 | .if !empty(PKG_OPTIONS:Mcurses) |
20 | PLIST.curses= yes | | 20 | PLIST.curses= yes |
21 | # it only searches for ncurses but seems to be ok with at least netbsd's curses | | 21 | # it only searches for ncurses but seems to be ok with at least netbsd's curses |
22 | FAKE_NCURSES= yes | | 22 | FAKE_NCURSES= yes |
23 | .include "../../mk/curses.buildlink3.mk" | | 23 | .include "../../mk/curses.buildlink3.mk" |
24 | .else | | 24 | .else |
25 | CONFIGURE_ARGS+= --without-ncurses | | 25 | CONFIGURE_ARGS+= --without-ncurses |
26 | .endif | | 26 | .endif |
27 | | | 27 | |
28 | .if !empty(PKG_OPTIONS:Mexpat) | | 28 | .if !empty(PKG_OPTIONS:Mexpat) |
29 | PLIST.expat= yes | | 29 | PLIST.expat= yes |
30 | .include "../../textproc/expat/buildlink3.mk" | | 30 | .include "../../textproc/expat/buildlink3.mk" |
31 | .else | | 31 | .else |
32 | CONFIGURE_ENV+= ac_cv_header_expat_h=no | | 32 | CONFIGURE_ENV+= ac_cv_header_expat_h=no |