3 PKG_OPTIONS_VAR= PKG_OPTIONS.libVNCServer
4 PKG_SUPPORTED_OPTIONS= gnutls inet6 libgcrypt
5 PKG_SUGGESTED_OPTIONS= gnutls inet6 libgcrypt
7 .include "../../mk/bsd.options.mk"
9 .if !empty(PKG_OPTIONS:Mgnutls)
10 .include "../../security/gnutls/buildlink3.mk"
11 USE_TOOLS+= pkg-config
12 CONFIGURE_ARGS+= --with-gnutls
13 CONFIGURE_ARGS+= --with-client-tls
15 CONFIGURE_ARGS+= --without-gnutls
16 CONFIGURE_ARGS+= --without-client-tls
19 .if !empty(PKG_OPTIONS:Minet6)
20 CONFIGURE_ARGS+= --with-ipv6
22 CONFIGURE_ARGS+= --without-ipv6
25 .if !empty(PKG_OPTIONS:Mlibgcrypt)
26 .include "../../security/libgcrypt/buildlink3.mk"
27 CONFIGURE_ARGS+= --with-gcrypt
28 CONFIGURE_ARGS+= --with-client-gcrypt
29 CONFIGURE_ARGS+= --with-libgcrypt-prefix=${BUILDLINK_PREFIX.libgcrypt}
31 CONFIGURE_ARGS+= --without-gcrypt
32 CONFIGURE_ARGS+= --without-client-gcrypt