update Fri Mar 19 12:37:00 PDT 2010
[pkgsrc.git] / wip / libzdb / options.mk
1 # $NetBSD$
2
3 PKG_OPTIONS_VAR=        PKG_OPTIONS.zdb
4 PKG_SUPPORTED_OPTIONS=  ssl sqliteunlock
5 PKG_SUGGESTED_OPTIONS=  ssl
6 PKG_OPTIONS_NONEMPTY_SETS= database
7 PKG_OPTIONS_SET.database=  mysql pgsql sqlite
8
9 .include "../../mk/bsd.options.mk"
10
11 ###
12 ### Support using a MySQL database server
13 ###
14 .if !empty(PKG_OPTIONS:Mmysql)
15 .  include "../../mk/mysql.buildlink3.mk"
16 .endif
17
18 ###
19 ### Support using a PostgreSQL database server
20 ###
21 .if !empty(PKG_OPTIONS:Mpgsql)
22 .  include "../../mk/pgsql.buildlink3.mk"
23 .endif
24
25 ###
26 ### Support using a SQLite database
27 ###
28 .if !empty(PKG_OPTIONS:Msqlite)
29 .  include "../../databases/sqlite3/buildlink3.mk"
30 .  if !empty(PKG_OPTIONS:Msqliteunlock)
31 CONFIGURE_ARGS+=--enable-sqliteunlock
32 .  endif
33 .endif
34
35 ###
36 ### Support OpenSSL cryptographic library
37 ###
38 .if !empty(PKG_OPTIONS:Mssl)
39 CONFIGURE_ARGS+=        --enable-openssl
40 .  include "../../security/openssl/buildlink3.mk"
41 .endif