aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2007-03-20 22:10:41 +0800
committerdelphij <delphij@FreeBSD.org>2007-03-20 22:10:41 +0800
commita100be4252c409810c2590b8863c6989a6ce6b8f (patch)
treecb900aa4c506f19602c33e23b0731e2062bd833b /net
parent82c3478673ef38cb3b453f354d924363b2fef39b (diff)
downloadfreebsd-ports-gnome-a100be4252c409810c2590b8863c6989a6ce6b8f.tar.gz
freebsd-ports-gnome-a100be4252c409810c2590b8863c6989a6ce6b8f.tar.zst
freebsd-ports-gnome-a100be4252c409810c2590b8863c6989a6ce6b8f.zip
Use USE_LDCONFIG correctly upon successful server installation
in order to make backend shared objects to be recognized correctly. Requested by: edwin PR: ports/110424
Diffstat (limited to 'net')
-rw-r--r--net/openldap23-server/Makefile3
-rw-r--r--net/openldap24-server/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/net/openldap23-server/Makefile b/net/openldap23-server/Makefile
index 08d4a1577874..cf63d670ce7e 100644
--- a/net/openldap23-server/Makefile
+++ b/net/openldap23-server/Makefile
@@ -39,7 +39,7 @@ BROKEN= incompatible OpenLDAP version: ${WANT_OPENLDAP_VER}
.endif
PORTREVISION_CLIENT= 0
-PORTREVISION_SERVER= 0
+PORTREVISION_SERVER= 1
.if !defined(CLIENT_ONLY)
OPTIONS= SASL "With (Cyrus) SASL2 support" on \
@@ -160,6 +160,7 @@ PKGMESSAGE= ${WRKSRC}/pkg-message.client
.else
# server specific configuration
+USE_LDCONFIG= ${PREFIX}/libexec/openldap
SUB_FILES+= pkg-deinstall pkg-message pkg-install
USE_RC_SUBR= slapd.sh ${SLURPDSH}
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile
index e51a8b688c27..3bf813acbc5c 100644
--- a/net/openldap24-server/Makefile
+++ b/net/openldap24-server/Makefile
@@ -39,7 +39,7 @@ BROKEN= incompatible OpenLDAP version: ${WANT_OPENLDAP_VER}
.endif
PORTREVISION_CLIENT= 0
-PORTREVISION_SERVER= 0
+PORTREVISION_SERVER= 1
.if !defined(CLIENT_ONLY)
OPTIONS= SASL "With (Cyrus) SASL2 support" on \
@@ -167,6 +167,7 @@ USE_LDCONFIG= yes
.else
# server specific configuration
+USE_LDCONFIG= ${PREFIX}/libexec/openldap
SUB_FILES+= pkg-install pkg-message pkg-deinstall
USE_RC_SUBR= slapd.sh ${SLURPDSH}