summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-nds')
-rw-r--r--net-nds/openldap/ChangeLog6
-rw-r--r--net-nds/openldap/openldap-2.2.26-r2.ebuild7
2 files changed, 9 insertions, 4 deletions
diff --git a/net-nds/openldap/ChangeLog b/net-nds/openldap/ChangeLog
index 53d85c093fae..932096a8c34d 100644
--- a/net-nds/openldap/ChangeLog
+++ b/net-nds/openldap/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-nds/openldap
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/ChangeLog,v 1.115 2005/05/26 00:01:05 herbs Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/ChangeLog,v 1.116 2005/05/30 04:42:06 robbat2 Exp $
+
+ 30 May 2005; Robin H. Johnson <robbat2@gentoo.org>
+ openldap-2.2.26-r2.ebuild:
+ Fix bug #94415, -fPIC needed for correct kerberos build stuff.
26 May 2005; Herbie Hopkins <herbs@gentoo.org> openldap-2.2.26-r2.ebuild:
more multilib fixes..
diff --git a/net-nds/openldap/openldap-2.2.26-r2.ebuild b/net-nds/openldap/openldap-2.2.26-r2.ebuild
index 2141f52f69e2..1b6b216c2c52 100644
--- a/net-nds/openldap/openldap-2.2.26-r2.ebuild
+++ b/net-nds/openldap/openldap-2.2.26-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/openldap-2.2.26-r2.ebuild,v 1.4 2005/05/26 00:01:05 herbs Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/openldap-2.2.26-r2.ebuild,v 1.5 2005/05/30 04:42:06 robbat2 Exp $
inherit flag-o-matic toolchain-funcs eutils multilib
@@ -215,11 +215,12 @@ src_compile() {
make depend || die "make depend failed"
make || die "make failed"
-
+
+ # special kerberos stuff
tc-export CC
if useq kerberos ; then
cd ${S}/contrib/slapd-modules/passwd/ && \
- ${CC} -shared -I../../../include ${CFLAGS} \
+ ${CC} -shared -I../../../include ${CFLAGS} -fPIC \
-DHAVE_KRB5 -o pw-kerberos.so kerberos.c || \
die "failed to compile kerberos module"
fi