diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2008-10-14 10:08:38 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2008-10-14 10:08:38 +0000 |
commit | 51ff76d4cd21238a5a26a5bda11a106f006f41df (patch) | |
tree | ea6e1999bd8e5622851093a9e4a9e6b34e1d7020 /net-nds/openldap/openldap-2.3.43-r1.ebuild | |
parent | Bug #182450, fixing as-needed. (diff) | |
download | gentoo-2-51ff76d4cd21238a5a26a5bda11a106f006f41df.tar.gz gentoo-2-51ff76d4cd21238a5a26a5bda11a106f006f41df.tar.bz2 gentoo-2-51ff76d4cd21238a5a26a5bda11a106f006f41df.zip |
Bug #186391 - use krb5-config --cflags instead of hardcoding -I/usr/include/heimdal. Untested due to lack of kerberos systems.
(Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc1-10246-gca5de40 x86_64)
Diffstat (limited to 'net-nds/openldap/openldap-2.3.43-r1.ebuild')
-rw-r--r-- | net-nds/openldap/openldap-2.3.43-r1.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net-nds/openldap/openldap-2.3.43-r1.ebuild b/net-nds/openldap/openldap-2.3.43-r1.ebuild index d06f3e91bdff..eb3aa148b22e 100644 --- a/net-nds/openldap/openldap-2.3.43-r1.ebuild +++ b/net-nds/openldap/openldap-2.3.43-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/openldap-2.3.43-r1.ebuild,v 1.1 2008/10/14 08:59:42 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/openldap-2.3.43-r1.ebuild,v 1.2 2008/10/14 10:08:38 robbat2 Exp $ EAPI="1" @@ -327,6 +327,7 @@ src_compile() { einfo "Building contributed pw-kerberos" cd "${S}"/contrib/slapd-modules/passwd/ && \ ${CC} -shared -I../../../include ${CFLAGS} -fPIC \ + $(krb5-config --cflags) \ -DHAVE_KRB5 -o pw-kerberos.so kerberos.c || \ die "failed to compile kerberos password module" fi @@ -345,7 +346,7 @@ src_compile() { local mydef local mykrb5inc mydef="-DDO_SAMBA -DDO_KRB5" - mykrb5inc="-I/usr/include/heimdal/" + mykrb5inc="$(krb5-config --cflags)" cd "${S}"/contrib/slapd-modules/smbk5pwd && \ libexecdir="/usr/$(get_libdir)/openldap" \ DEFS="${mydef}" KRB5_INC="${mykrb5inc}" emake || \ |