Browse Source

nss-pam-ldapd: improved to use pkgprefix -r

stable/0.2
Christian Wiese 14 years ago
parent
commit
bd6c64ed53
  1. 10
      network/nss-pam-ldapd/nss-pam-ldapd.conf

10
network/nss-pam-ldapd/nss-pam-ldapd.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../nss-pam-ldapd/nss-pam-ldapd.conf
# Copyright (C) 2007 - 2010 The OpenSDE Project
# Copyright (C) 2007 - 2011 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -19,9 +19,9 @@ if [ "$prefix_auto" = 1 ]; then
fi
pkgprefix -t openldap
var_append confopt ' ' "--with-ldap-dir=$root/`pkgprefix openldap`"
var_append confopt ' ' "--with-ldap-conf-file=$root`pkgprefix sysconfdir openldap`/ldap.conf"
var_append confopt ' ' "--with-ldap-secret-file=$root`pkgprefix sysconfdir openldap`/ldap.secret"
var_append GCC_WRAPPER_APPEND ' ' "-L$root/`pkgprefix libdir openldap`"
var_append confopt ' ' "--with-ldap-dir=$( pkgprefix -r openldap )"
var_append confopt ' ' "--with-ldap-conf-file=$( pkgprefix -r sysconfdir openldap )/ldap.conf"
var_append confopt ' ' "--with-ldap-secret-file=$( pkgprefix -r sysconfdir openldap )/ldap.secret"
var_append GCC_WRAPPER_APPEND ' ' "-L$( pkgprefix -r libdir openldap )"
hook_add postmake 5 'cp -vf nslcd.conf $root$docdir/'

Loading…
Cancel
Save