1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

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
This commit is contained in:
Xin LI 2007-03-20 14:10:41 +00:00
parent 79e641db19
commit 0ccf7d3f41
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=187792
2 changed files with 4 additions and 2 deletions

View File

@ -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}

View File

@ -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}