summaryrefslogtreecommitdiff
path: root/databases/openldap
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-21 01:48:38 +0000
committerjlam <jlam@pkgsrc.org>2004-02-21 01:48:38 +0000
commitdf52730681ca4ae3f6c20ea5f5988e8ee5f6d78b (patch)
treee8a24bdbdbbf4c1b253fb1aa2c3565592bb9f8a4 /databases/openldap
parentcc8a7f81907c6112ad21f4fd507446b04302919e (diff)
downloadpkgsrc-df52730681ca4ae3f6c20ea5f5988e8ee5f6d78b.tar.gz
Enable linking against shared libraries, and correctly enable detection of
the Kerberos libraries.
Diffstat (limited to 'databases/openldap')
-rw-r--r--databases/openldap/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/databases/openldap/Makefile b/databases/openldap/Makefile
index c5571a2d468..75576588660 100644
--- a/databases/openldap/Makefile
+++ b/databases/openldap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.70 2004/02/20 13:56:15 jlam Exp $
+# $NetBSD: Makefile,v 1.71 2004/02/21 01:48:38 jlam Exp $
DISTNAME= openldap-2.1.25
SVR4_PKGNAME= oldap
@@ -28,6 +28,7 @@ PKG_SYSCONFSUBDIR= openldap
#
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --localstatedir=/var/openldap
+CONFIGURE_ARGS+= --enable-dynamic # link against shared libs
CONFIGURE_ARGS+= --enable-bdb
CONFIGURE_ARGS+= --enable-crypt
CONFIGURE_ARGS+= --enable-dnssrv
@@ -54,6 +55,8 @@ CONFIGURE_ARGS+= --enable-spasswd
.if defined(KERBEROS)
. include "../../mk/krb5.buildlink3.mk"
+CONFIGURE_ENV+= ol_with_kerberos=yes
+CONFIGURE_ENV+= ol_enable_kpasswd=yes
CONFIGURE_ARGS+= --with-kerberos
CONFIGURE_ARGS+= --enable-kpasswd
.else