From dfa840b35009c55e95d850abe761b75307ac91fa Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Wed, 18 Apr 2007 19:41:54 +0000 Subject: [PATCH] * cleaned openldap/parse-conf by using pkginstalled -f instead of a hardcoded path git-svn-id: svn://svn.opensde.net/opensde/package/trunk@20864 10447126-35f2-4685-b0cf-6dd780d3921f --- network/openldap/parse-config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/network/openldap/parse-config b/network/openldap/parse-config index 5e2cf526c..7e5639909 100644 --- a/network/openldap/parse-config +++ b/network/openldap/parse-config @@ -12,7 +12,10 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -if [ -f "$root/var/adm/packages/openldap" ] ; then +if pkginstalled -f openldap; then + # only when openldap is effectively installed + pkgprefix -t openldap + # FIXME! lib64 tweak - should be removed if we have proper symlinks [[ $libdir == *lib ]] || var_append GCC_WRAPPER_APPEND ' ' "-L$root$( pkgprefix libdir openldap )"