summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2005-05-30 04:42:06 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2005-05-30 04:42:06 +0000
commitba7116b51d5a960142b2ecf11360b5fc9b089f29 (patch)
tree0fcb7da50571c3ec94c3dd06e71c7996e1c44908 /net-nds
parentnew version and other fixes for bug 92789, 85668, and 89075. (diff)
downloadgentoo-2-ba7116b51d5a960142b2ecf11360b5fc9b089f29.tar.gz
gentoo-2-ba7116b51d5a960142b2ecf11360b5fc9b089f29.tar.bz2
gentoo-2-ba7116b51d5a960142b2ecf11360b5fc9b089f29.zip
Fix bug #94415, -fPIC needed for correct kerberos build stuff.
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