From dda868d298e85353271520797b2e9fa36f247112 Mon Sep 17 00:00:00 2001 From: Gernot Tenchio Date: Fri, 7 Sep 2012 15:13:44 +0200 Subject: [PATCH] libvncserver: force gnutls if found --- x11/libvncserver/libvncserver.conf | 4 ++++ 1 file changed, 4 insertions(+) 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