diff options
author | delphij <delphij@FreeBSD.org> | 2008-06-19 02:59:44 +0800 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2008-06-19 02:59:44 +0800 |
commit | 09df2911db2275b59e893db4622e3c4e50d2fa66 (patch) | |
tree | ee36e201c48e8ae22da13e433380b60cf127e38f | |
parent | 60344bd30174eaf219ee8b87aa8ccef64ae05701 (diff) | |
download | freebsd-ports-gnome-09df2911db2275b59e893db4622e3c4e50d2fa66.tar.gz freebsd-ports-gnome-09df2911db2275b59e893db4622e3c4e50d2fa66.tar.zst freebsd-ports-gnome-09df2911db2275b59e893db4622e3c4e50d2fa66.zip |
Allow building of 'sock' backend.
PR: ports/124560
Submitted by: Stef Walter <stef memberwebs com>
-rw-r--r-- | net/openldap24-server/Makefile | 8 | ||||
-rw-r--r-- | net/openldap24-server/pkg-plist | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile index 521fc508d6f5..4190c122be15 100644 --- a/net/openldap24-server/Makefile +++ b/net/openldap24-server/Makefile @@ -48,6 +48,7 @@ OPTIONS= SASL "With (Cyrus) SASL2 support" off \ PERL "With Perl backend" off \ RELAY "With Relay backend" off \ SHELL "With Shell backend (disables threading)" off \ + SOCK "With Sock backend" off \ ODBC "With SQL backend" off \ RLOOKUPS "With reverse lookups of client hostnames" off \ SLP "With SLPv2 (RFC 2608) support" off \ @@ -352,6 +353,13 @@ PLIST_SUB+= BACK_SHELL="@comment " WANT_OPENLDAP_THREADS= yes .endif +.if defined(WITH_SOCK) +CONFIGURE_ARGS+= --enable-sock=${BACKEND_ENABLE} +PLIST_SUB+= BACK_SOCK=${BACKEND_PLIST} +.else +PLIST_SUB+= BACK_SOCK="@comment " +.endif + .if defined(WITH_PERL) USE_PERL5= yes CONFIGURE_ARGS+= --enable-perl=${BACKEND_ENABLE} diff --git a/net/openldap24-server/pkg-plist b/net/openldap24-server/pkg-plist index d9b24b2bbf6b..b3264d559a7c 100644 --- a/net/openldap24-server/pkg-plist +++ b/net/openldap24-server/pkg-plist @@ -60,6 +60,10 @@ etc/openldap/DB_CONFIG.example %%BACK_SHELL%%libexec/openldap/back_shell-2.4.so.2 %%BACK_SHELL%%libexec/openldap/back_shell.la %%BACK_SHELL%%libexec/openldap/back_shell.so +%%BACK_SOCK%%libexec/openldap/back_sock-2.4.so +%%BACK_SOCK%%libexec/openldap/back_sock-2.4.so.2 +%%BACK_SOCK%%libexec/openldap/back_sock.la +%%BACK_SOCK%%libexec/openldap/back_sock.so %%BACK_SQL%%libexec/openldap/back_sql-2.4.so %%BACK_SQL%%libexec/openldap/back_sql-2.4.so.2 %%BACK_SQL%%libexec/openldap/back_sql.la |