Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 168548 Details for
Bug 219371
net-nds/openldap-2.3.41 doesn't install C++ libraries and headers even with c++ use flag
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Implement the cxx use to build the ldapc++ library
openldap-ldapc++.diff (text/plain), 2.35 KB, created by
François Périchon
on 2008-10-15 10:07:44 UTC
(
hide
)
Description:
Implement the cxx use to build the ldapc++ library
Filename:
MIME Type:
Creator:
François Périchon
Created:
2008-10-15 10:07:44 UTC
Size:
2.35 KB
patch
obsolete
>--- /usr/portage/net-nds/openldap/openldap-2.4.11-r1.ebuild.orig 2008-10-14 11:18:15.000000000 +0200 >+++ /usr/portage/net-nds/openldap/openldap-2.4.11-r1.ebuild 2008-10-15 11:55:09.000000000 +0200 >@@ -17,7 +17,7 @@ > IUSE_BACKEND="+berkdb" > IUSE_OVERLAY="overlays perl" > IUSE_OPTIONAL="gnutls iodbc sasl ssl odbc debug ipv6 syslog selinux" >-IUSE_CONTRIB="smbkrb5passwd kerberos" >+IUSE_CONTRIB="smbkrb5passwd kerberos cxx" > IUSE="${IUSE_DAEMON} ${IUSE_BACKEND} ${IUSE_OVERLAY} ${IUSE_OPTIONAL} ${IUSE_CONTRIB}" > > # samba adding openssl is intentional --jokey >@@ -37,6 +37,7 @@ > smbkrb5passwd? ( > dev-libs/openssl > app-crypt/heimdal ) >+ cxx? ( dev-libs/cyrus-sasl ) > ) > selinux? ( sec-policy/selinux-openldap )" > DEPEND="${RDEPEND}" >@@ -153,6 +154,9 @@ > } > > pkg_setup() { >+ if ! use sasl && use cxx ; then >+ die "To build the ldapc++ library you must emerge openldap with sasl support" >+ fi > if use minimal && has_version "net-nds/openldap" && built_with_use net-nds/openldap minimal ; then > einfo > einfo "Skipping scan for previous datadirs as requested by minimal useflag" >@@ -282,6 +286,24 @@ > emake CC=$(tc-getCC) AR=$(tc-getAR) || die "emake failed" > > if ! use minimal ; then >+ if use cxx ; then >+ einfo "Building contrib library: ldapc++" >+ local myconf_ldapcpp >+ myconf_ldapcpp="${myconf_ldapcpp} --with-ldap-includes=../../include" >+ cd "${S}/contrib/ldapc++" >+ OLD_LDFLAGS="$LDFLAGS" >+ OLD_CPPFLAGS="$CPPFLAGS" >+ append-ldflags "-L../../libraries/liblber/.libs -L../../libraries/libldap/.libs" >+ append-ldflags "-L../../../libraries/liblber/.libs -L../../../libraries/libldap/.libs" >+ append-cppflags "-I../../../include" >+ econf ${myconf_ldapcpp} || die "configure ldapc++ failed" >+ emake \ >+ CC=$(tc-getCC) \ >+ || die "emake ldapc++ failed" >+ CPPFLAGS="$OLD_CPPFLAGS" >+ >+ fi >+ > if use smbkrb5passwd ; then > einfo "Building contrib-module: smbk5pwd" > cd "${S}/contrib/slapd-modules/smbk5pwd" >@@ -372,6 +394,13 @@ > sed -e "s,/usr/lib/,/usr/$(get_libdir)/," -i "${D}"etc/init.d/slapd > fi > >+ if use cxx ; then >+ einfo "Install the ldapc++ library" >+ cd "${S}/contrib/ldapc++" >+ emake DESTDIR="${D}" libexecdir="/usr/$(get_libdir)/openldap" install || die "emake install ldapc++ failed" >+ newdoc README >+ fi >+ > if use smbkrb5passwd ; then > einfo "Install the smbk5pwd module" > cd "${S}/contrib/slapd-modules/smbk5pwd"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 219371
: 168548