Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 261186

Summary: net-nds/openldap: should use libtool to compile plugins
Product: Gentoo Linux Reporter: Michael Haubenwallner (RETIRED) <haubi>
Component: New packagesAssignee: Gentoo LDAP project <ldap-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: prefix
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to use libtool in openldap-2.4.11-r1.ebuild

Description Michael Haubenwallner (RETIRED) gentoo-dev 2009-03-04 16:47:02 UTC
In Prefix (AIX and others), shared libs and loadable modules often need to be built in a different way than on Linux - libtool usually knows best.

It is already configure'd and used via emake, but not for the plugins built directly in the ebuild.

In the mean time I'm going to p.use.force 'minimal' on AIX.

BTW: Please consider doing 'tc-export CC AR' (and maybe CXX for bug#219371) before econf instead of overwriting them later at emake - and subsequently use ${CC} instead of $(tc-getCC).
Comment 1 Michael Haubenwallner (RETIRED) gentoo-dev 2009-03-04 16:51:25 UTC
Created attachment 183896 [details, diff]
patch to use libtool in openldap-2.4.11-r1.ebuild

Unfortunately can only test for successful emerge here, not if the plugins still work. Also didn't test with 'kerberos' use-flag, but '-minimal' only.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-07-28 21:29:41 UTC
Fixed in 2.4.17-r1.