Fri Dec 17 14:13:02 2010 UTC ()
dynamic linking won't work on Darwin when slapd gets stripped


(adam)
diff -r1.13 -r1.14 pkgsrc/databases/openldap-server/options.mk

cvs diff -r1.13 -r1.14 pkgsrc/databases/openldap-server/options.mk (expand / switch to unified diff)

--- pkgsrc/databases/openldap-server/options.mk 2010/06/02 12:15:29 1.13
+++ pkgsrc/databases/openldap-server/options.mk 2010/12/17 14:13:02 1.14
@@ -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
3PKG_OPTIONS_VAR= PKG_OPTIONS.openldap-server 3PKG_OPTIONS_VAR= PKG_OPTIONS.openldap-server
4PKG_SUPPORTED_OPTIONS= bdb sasl slp inet6 smbk5pwd dso 4PKG_SUPPORTED_OPTIONS= bdb sasl slp inet6 smbk5pwd dso
5PKG_OPTIONS_OPTIONAL_GROUPS+= odbc 5PKG_OPTIONS_OPTIONAL_GROUPS+= odbc
6PKG_OPTIONS_GROUP.odbc= iodbc unixodbc 6PKG_OPTIONS_GROUP.odbc= iodbc unixodbc
7PKG_SUGGESTED_OPTIONS= bdb 7PKG_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)
88PKG_FAIL_REASON+= "smbk5pwd option to openldap-server is now " \ 88PKG_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)
96CONFIGURE_ARGS+= --enable-modules 96CONFIGURE_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"
 100INSTALL_UNSTRIPPED= yes
 101.endif
97. include "../../devel/libltdl/buildlink3.mk" 102. include "../../devel/libltdl/buildlink3.mk"
98.endif 103.endif