diff options
Diffstat (limited to 'net/openldap24-server/Makefile')
-rw-r--r-- | net/openldap24-server/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile index dc4e1c53c91f..69b3288ee4b9 100644 --- a/net/openldap24-server/Makefile +++ b/net/openldap24-server/Makefile @@ -40,7 +40,7 @@ BROKEN= "incompatible OpenLDAP version: ${WANT_OPENLDAP_VER}" .endif .if defined(CLIENT_ONLY) -OPENLDAP_PORTVERSION= 1 +OPENLDAP_PORTVERSION= 2 OPENLDAP_PKGNAMESUFFIX?=-client OPENLDAP_PKGFILESUFX?= .client @@ -253,6 +253,8 @@ pre-everything:: post-patch: @${REINPLACE_CMD} -e 's,%LOCALSTATEDIR%/run/,${LDAP_RUN_DIR}/,g' \ ${WRKSRC}/servers/slapd/slapd.conf + @${REINPLACE_CMD} -Ee 's,^(ol_api_lib=)2\.2\.([0-9]+)$$,\1202:\2:200,' \ + ${WRKSRC}/build/version.var pre-configure: @if [ -n "`${PKG_INFO} -xI '^bind\(84\)\{0,1\}-base-8\.' 2>/dev/null`" ]; then \ |