aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-09-11 14:00:05 +0800
committerantoine <antoine@FreeBSD.org>2014-09-11 14:00:05 +0800
commit885a907a22391d7edab06ab159ffd96b9d6bd006 (patch)
treeb12342b1fdcabb11b7f95a61030c497424f3ad7f
parent25ec5da4f73acad98f58bde93175839e4b64e7e9 (diff)
downloadfreebsd-ports-gnome-885a907a22391d7edab06ab159ffd96b9d6bd006.tar.gz
freebsd-ports-gnome-885a907a22391d7edab06ab159ffd96b9d6bd006.tar.zst
freebsd-ports-gnome-885a907a22391d7edab06ab159ffd96b9d6bd006.zip
Fix packaging
-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%%