diff --git a/x11/libvncserver/libvncserver.conf b/x11/libvncserver/libvncserver.conf index 711906ec8..284dbcd42 100644 --- a/x11/libvncserver/libvncserver.conf +++ b/x11/libvncserver/libvncserver.conf @@ -21,6 +21,10 @@ if atstage cross; then var_append configcache ' ' "ac_cv_func_gettimeofday=yes" fi +if pkginstalled -f gnutls; then + var_append extraconfopt ' ' "--with-gnutls=$( pkgprefix -r gnutls ) --without-crypto --without-ssl" +fi + if ! pkginstalled -f libgcrypt; then var_append extraconfopt ' ' "--without-gcrypt" else