aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/openldap24-server/Makefile1
-rw-r--r--net/openldap24-server/pkg-plist1
2 files changed, 2 insertions, 0 deletions
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile
index 08dce726e099..171abca08cca 100644
--- a/net/openldap24-server/Makefile
+++ b/net/openldap24-server/Makefile
@@ -538,6 +538,7 @@ post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib$${library}-${OPENLDAP_MAJOR}.so.${OPENLDAP_SHLIB_MAJOR}; \
done
.else
+ @${MKDIR} ${STAGEDIR}${LDAP_RUN_DIR}
.if ${PORT_OPTIONS:MDYNAMIC_BACKENDS}
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/openldap/*.so.${OPENLDAP_SHLIB_MAJOR}
.endif
diff --git a/net/openldap24-server/pkg-plist b/net/openldap24-server/pkg-plist
index c8cbfa205cc4..8ebf20ed6825 100644
--- a/net/openldap24-server/pkg-plist
+++ b/net/openldap24-server/pkg-plist
@@ -161,6 +161,7 @@ sbin/slapindex
sbin/slappasswd
sbin/slapschema
sbin/slaptest
+@dirrmtry %%ETCDIR%%/schema
%%MODULES%%@dirrmtry libexec/openldap
@dirrmtry(%%LDAP_USER%%,%%LDAP_GROUP%%,) %%LDAP_RUN_DIR%%
@dirrmtry(%%LDAP_USER%%,%%LDAP_GROUP%%,) %%DATABASEDIR%%