diff --git a/network/ldapvi/ldapvi.conf b/network/ldapvi/ldapvi.conf index d625abbe5..7952b857c 100644 --- a/network/ldapvi/ldapvi.conf +++ b/network/ldapvi/ldapvi.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../ldapvi/ldapvi.conf -# Copyright (C) 2007 The OpenSDE Project +# Copyright (C) 2007 - 2011 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -12,11 +12,10 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -if pkginstalled gnutls; then - # openssl is the default, but we prefer gnutls if possible - var_append confopt ' ' --with-libcrypto=gnutls -fi +# openssl is the default, but we prefer to set it explicitely because +# it fails to build against recent versions of gnutls +pkgprefix -t openssl +var_append confopt ' ' --with-libcrypto=openssl pkgprefix -t openldap var_append GCC_WRAPPER_APPEND ' ' "-L ${root}$( pkgprefix libdir openldap )" -