summaryrefslogtreecommitdiff
path: root/databases/openldap-server
diff options
context:
space:
mode:
authoradam <adam>2010-12-17 14:13:02 +0000
committeradam <adam>2010-12-17 14:13:02 +0000
commit0165bb1deb70ff887304c64dfd41d1a6be8bb14c (patch)
tree6600ebdbc5cb1f51355e458229ba6c99f9e47079 /databases/openldap-server
parentbbde1e4d593a2b462fc83281cfde43b258cdce1e (diff)
downloadpkgsrc-0165bb1deb70ff887304c64dfd41d1a6be8bb14c.tar.gz
dynamic linking won't work on Darwin when slapd gets stripped
Diffstat (limited to 'databases/openldap-server')
-rw-r--r--databases/openldap-server/options.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/openldap-server/options.mk b/databases/openldap-server/options.mk
index 08af56df765..5d8d4e32891 100644
--- a/databases/openldap-server/options.mk
+++ b/databases/openldap-server/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.13 2010/06/02 12:15:29 adam Exp $
+# $NetBSD: options.mk,v 1.14 2010/12/17 14:13:02 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.openldap-server
PKG_SUPPORTED_OPTIONS= bdb sasl slp inet6 smbk5pwd dso
@@ -94,5 +94,10 @@ PKG_FAIL_REASON+= "smbk5pwd option to openldap-server is now " \
###
.if !empty(PKG_OPTIONS:Mdso)
CONFIGURE_ARGS+= --enable-modules
+# dynamic linking won't work on Darwin when slapd gets stripped
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Darwin"
+INSTALL_UNSTRIPPED= yes
+.endif
. include "../../devel/libltdl/buildlink3.mk"
.endif