1 # $NetBSD: options.mk,v 1.12 2011/05/04 23:33:11 ryoon Exp $
3 PKG_OPTIONS_VAR
= PKG_OPTIONS.aria2
5 PKG_OPTIONS_GROUP.ssl
= gnutls ssl
6 PKG_OPTIONS_REQUIRED_GROUPS
= ssl
8 PKG_SUPPORTED_OPTIONS
= sqlite
9 PKG_SUGGESTED_OPTIONS
= ssl sqlite
11 .
include "../../mk/bsd.options.mk"
13 ### SSL/TLS implementation
15 .if
!empty
(PKG_OPTIONS
:Mssl
)
16 CONFIGURE_ARGS
+= --with-openssl
17 CONFIGURE_ARGS
+= --with-gnutls
=no
18 .
include "../../security/openssl/buildlink3.mk"
20 CONFIGURE_ARGS
+= --with-gnutls
21 CONFIGURE_ARGS
+= --with-openssl
=no
22 .
include "../../security/gnutls/buildlink3.mk"
23 USE_TOOLS
+= pkg-config
26 ### firefox3 cookie support via sqlite3
28 .if
!empty
(PKG_OPTIONS
:Msqlite
)
29 CONFIGURE_ARGS
+= --with-sqlite3
30 CONFIGURE_ARGS
+= --with-sqlite3-prefix
=${BUILDLINK_PREFIX.sqlite
}
31 .
include "../../databases/sqlite3/buildlink3.mk"
32 USE_TOOLS
+= pkg-config
34 CONFIGURE_ARGS
+= --with-sqlite3
=no