| @@ -1,23 +1,32 @@ | | | @@ -1,23 +1,32 @@ |
1 | # $NetBSD: options.mk,v 1.4 2011/10/08 13:49:09 shattered Exp $ | | 1 | # $NetBSD: options.mk,v 1.5 2011/10/11 02:13:40 jnemeth Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.asterisk | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.asterisk |
4 | PKG_SUPPORTED_OPTIONS= x11 unixodbc ilbc webvmail ldap spandsp | | 4 | PKG_SUPPORTED_OPTIONS= zaptel x11 unixodbc ilbc webvmail ldap spandsp |
5 | PKG_OPTIONS_LEGACY_OPTS+= gtk:x11 | | 5 | PKG_OPTIONS_LEGACY_OPTS+= gtk:x11 |
6 | PKG_SUGGESTED_OPTIONS= ldap | | 6 | PKG_SUGGESTED_OPTIONS= ldap |
7 | | | 7 | |
8 | .include "../../mk/bsd.options.mk" | | 8 | .include "../../mk/bsd.options.mk" |
9 | | | 9 | |
10 | PLIST_VARS+= x11 unixodbc ilbc webvmail ldap spandsp | | 10 | PLIST_VARS+= zaptel x11 unixodbc ilbc webvmail ldap spandsp |
| | | 11 | |
| | | 12 | # Asterisk now uses DAHDI, not zaptel; not implemented yet... |
| | | 13 | #.if !empty(PKG_OPTIONS:Mzaptel) |
| | | 14 | ## zaptel only supported under NetBSD at the moment |
| | | 15 | #. include "../../comms/zaptel-netbsd/buildlink3.mk" |
| | | 16 | #PLIST.zaptel= yes |
| | | 17 | #.else |
| | | 18 | #MAKE_FLAGS+= WITHOUT_ZAPTEL=1 |
| | | 19 | #.endif |
11 | | | 20 | |
12 | # gtkconsole depends on GTK 2.x | | 21 | # gtkconsole depends on GTK 2.x |
13 | .if !empty(PKG_OPTIONS:Mx11) | | 22 | .if !empty(PKG_OPTIONS:Mx11) |
14 | . include "../../x11/gtk2/buildlink3.mk" | | 23 | . include "../../x11/gtk2/buildlink3.mk" |
15 | . include "../../devel/SDL/buildlink3.mk" | | 24 | . include "../../devel/SDL/buildlink3.mk" |
16 | CONFIGURE_ARGS+= --with-sdl | | 25 | CONFIGURE_ARGS+= --with-sdl |
17 | CONFIGURE_ARGS+= --with-gtk2 | | 26 | CONFIGURE_ARGS+= --with-gtk2 |
18 | PLIST.x11= yes | | 27 | PLIST.x11= yes |
19 | .else | | 28 | .else |
20 | CONFIGURE_ARGS+= --without-sdl | | 29 | CONFIGURE_ARGS+= --without-sdl |
21 | CONFIGURE_ARGS+= --without-gtk2 | | 30 | CONFIGURE_ARGS+= --without-gtk2 |
22 | .endif | | 31 | .endif |
23 | | | 32 | |