| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: options.mk,v 1.13 2010/06/02 12:15:29 adam Exp $ | | 1 | # $NetBSD: options.mk,v 1.14 2010/12/17 14:13:02 adam Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.openldap-server | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.openldap-server |
4 | PKG_SUPPORTED_OPTIONS= bdb sasl slp inet6 smbk5pwd dso | | 4 | PKG_SUPPORTED_OPTIONS= bdb sasl slp inet6 smbk5pwd dso |
5 | PKG_OPTIONS_OPTIONAL_GROUPS+= odbc | | 5 | PKG_OPTIONS_OPTIONAL_GROUPS+= odbc |
6 | PKG_OPTIONS_GROUP.odbc= iodbc unixodbc | | 6 | PKG_OPTIONS_GROUP.odbc= iodbc unixodbc |
7 | PKG_SUGGESTED_OPTIONS= bdb | | 7 | PKG_SUGGESTED_OPTIONS= bdb |
8 | | | 8 | |
9 | .include "../../mk/bsd.options.mk" | | 9 | .include "../../mk/bsd.options.mk" |
10 | | | 10 | |
11 | ### | | 11 | ### |
12 | ### Whether to build with the Berkeley DB based slapd backends. | | 12 | ### Whether to build with the Berkeley DB based slapd backends. |
13 | ### | | 13 | ### |
14 | ### NOTE: that option is enabled, because the openldap server needs | | 14 | ### NOTE: that option is enabled, because the openldap server needs |
| @@ -84,15 +84,20 @@ CONFIGURE_ARGS+= --disable-ipv6 | | | @@ -84,15 +84,20 @@ CONFIGURE_ARGS+= --disable-ipv6 |
84 | ### | | 84 | ### |
85 | ### smbk5pwd support (sync samba and kerberos passwords on password changes) | | 85 | ### smbk5pwd support (sync samba and kerberos passwords on password changes) |
86 | ### | | 86 | ### |
87 | .if !empty(PKG_OPTIONS:Msmbk5pwd) | | 87 | .if !empty(PKG_OPTIONS:Msmbk5pwd) |
88 | PKG_FAIL_REASON+= "smbk5pwd option to openldap-server is now " \ | | 88 | PKG_FAIL_REASON+= "smbk5pwd option to openldap-server is now " \ |
89 | "available through the openldap-smbk5pwd package" | | 89 | "available through the openldap-smbk5pwd package" |
90 | .endif | | 90 | .endif |
91 | | | 91 | |
92 | ### | | 92 | ### |
93 | ### Enable dynamic module support | | 93 | ### Enable dynamic module support |
94 | ### | | 94 | ### |
95 | .if !empty(PKG_OPTIONS:Mdso) | | 95 | .if !empty(PKG_OPTIONS:Mdso) |
96 | CONFIGURE_ARGS+= --enable-modules | | 96 | CONFIGURE_ARGS+= --enable-modules |
| | | 97 | # dynamic linking won't work on Darwin when slapd gets stripped |
| | | 98 | .include "../../mk/bsd.prefs.mk" |
| | | 99 | .if ${OPSYS} == "Darwin" |
| | | 100 | INSTALL_UNSTRIPPED= yes |
| | | 101 | .endif |
97 | . include "../../devel/libltdl/buildlink3.mk" | | 102 | . include "../../devel/libltdl/buildlink3.mk" |
98 | .endif | | 103 | .endif |