1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

Don't list LDAP_RUN_DIR as required_dirs since we will create it.

PR:		ports/166492
Noticed by:	"O. Hartmann" <ohartman mail zedat fu-berlin de>
Feature safe:	yes
This commit is contained in:
Xin LI 2012-03-30 09:33:25 +00:00
parent e50c146e0b
commit 25b94886b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293984
2 changed files with 1 additions and 2 deletions

View File

@ -45,7 +45,7 @@ BROKEN= incompatible OpenLDAP version: ${WANT_OPENLDAP_VER}
.endif
PORTREVISION_CLIENT= 0
PORTREVISION_SERVER= 1
PORTREVISION_SERVER= 2
OPENLDAP_SHLIB_MAJOR= 8
OPTIONS= SASL "With (Cyrus) SASL2 support" off \

View File

@ -60,7 +60,6 @@ if checkyesno slapd_cn_config; then
required_files="%%PREFIX%%/etc/openldap/slapd.d/cn=config.ldif"
DATABASEDIR=`grep olcDbDirectory %%PREFIX%%/etc/openldap/slapd.d/cn=config/olcDatabase=* | awk '{ print $2 }'`
else
required_dirs="%%LDAP_RUN_DIR%%"
required_files="%%PREFIX%%/etc/openldap/slapd.conf"
DATABASEDIR=`awk '$1 == "directory" { print $2 }' "%%PREFIX%%/etc/openldap/slapd.conf" 2>&1 /dev/null`
fi