diff options
author | Naohiro Aota <naota@gentoo.org> | 2013-04-06 00:44:57 +0000 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2013-04-06 00:44:57 +0000 |
commit | 6dd097cf00c3271e94d3e630426755dd2013d6bc (patch) | |
tree | 823460e457a92e5ed02e5f7227d887743973d6b2 /dev-python/python-ldap/python-ldap-2.4.10-r1.ebuild | |
parent | version bump wrt #443032 (diff) | |
download | historical-6dd097cf00c3271e94d3e630426755dd2013d6bc.tar.gz historical-6dd097cf00c3271e94d3e630426755dd2013d6bc.tar.bz2 historical-6dd097cf00c3271e94d3e630426755dd2013d6bc.zip |
libresolv should be added only on glibc system. #450384
Package-Manager: portage-2.2.0_alpha166/cvs/Linux x86_64
Manifest-Sign-Key: 0xF8551514
Diffstat (limited to 'dev-python/python-ldap/python-ldap-2.4.10-r1.ebuild')
-rw-r--r-- | dev-python/python-ldap/python-ldap-2.4.10-r1.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-python/python-ldap/python-ldap-2.4.10-r1.ebuild b/dev-python/python-ldap/python-ldap-2.4.10-r1.ebuild index ad393a7fc94a..a9f51abbe541 100644 --- a/dev-python/python-ldap/python-ldap-2.4.10-r1.ebuild +++ b/dev-python/python-ldap/python-ldap-2.4.10-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/python-ldap-2.4.10-r1.ebuild,v 1.1 2013/02/21 11:14:02 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/python-ldap-2.4.10-r1.ebuild,v 1.2 2013/04/06 00:44:30 naota Exp $ EAPI=5 @@ -40,8 +40,9 @@ python_prepare_all() { sed -e 's/HAVE_SASL//g' -i setup.cfg || die fi use ssl && mylibs="${mylibs} ssl crypto" + use elibc_glibc && mylibs="${mylibs} resolv" - sed -e "s:^libs = .*:libs = lber resolv ${mylibs}:" \ + sed -e "s:^libs = .*:libs = lber ${mylibs}:" \ -i setup.cfg || die "error setting up libs in setup.cfg" distutils-r1_python_prepare_all |