Browse Source

Fixed heimdal to enable openssl and openldap support just if the packages are really available

early
Christian Wiese 17 years ago
parent
commit
504fa99ce9
  1. 6
      security/heimdal/heimdal.conf

6
security/heimdal/heimdal.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../heimdal/heimdal.conf
# Copyright (C) 2007 The OpenSDE Project
# Copyright (C) 2007 - 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -22,12 +22,12 @@ localstatedir=/var/heimdal
var_insert CC_WRAPPER_INSERT " " "-D_REENTRANT"
if atstage native; then
if pkginstalled openssl; then
if pkginstalled -f openssl; then
pkgprefix -t openssl
var_append extraconfopt ' ' "--with-openssl=$( pkgprefix sysconfdir openssl )"
fi
if [ "$SDECFG_PKG_HEIMDAL_LDAP" = "1" ]; then
if [ "$SDECFG_PKG_HEIMDAL_LDAP" = "1" ] && pkginstalled -f openldap; then
pkgprefix -t openldap
var_append extraconfopt ' ' "--with-openldap=/$( pkgprefix openldap )"
[ "$SDECFG_PKG_OPENLDAP_CLIENTONLY" = "0" ] && \

Loading…
Cancel
Save