From a100be4252c409810c2590b8863c6989a6ce6b8f Mon Sep 17 00:00:00 2001 From: delphij Date: Tue, 20 Mar 2007 14:10:41 +0000 Subject: 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 --- net/openldap23-server/Makefile | 3 ++- net/openldap24-server/Makefile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'net') 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} -- cgit