diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-03-23 10:38:11 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-03-23 10:38:11 +0000 |
commit | f6172f51410b86a7b156e6e0ba9a40da35db17fd (patch) | |
tree | 67a3e928dbf309f8843ec10a09149401cf821df8 /net-p2p/dclib/dclib-0.3.23.ebuild | |
parent | stable x86, bug 305875 (diff) | |
download | gentoo-2-f6172f51410b86a7b156e6e0ba9a40da35db17fd.tar.gz gentoo-2-f6172f51410b86a7b156e6e0ba9a40da35db17fd.tar.bz2 gentoo-2-f6172f51410b86a7b156e6e0ba9a40da35db17fd.zip |
Fix building with -Wl,--as-needed wrt #282426 by Kacper Kowalik. Fix missing USE="socks5" and USE="ssl" wrt #285661 by Andreis Vinogradovs.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-p2p/dclib/dclib-0.3.23.ebuild')
-rw-r--r-- | net-p2p/dclib/dclib-0.3.23.ebuild | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/net-p2p/dclib/dclib-0.3.23.ebuild b/net-p2p/dclib/dclib-0.3.23.ebuild index 178f4f2a49c1..bc2dbbbb93b9 100644 --- a/net-p2p/dclib/dclib-0.3.23.ebuild +++ b/net-p2p/dclib/dclib-0.3.23.ebuild @@ -1,6 +1,9 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/dclib/dclib-0.3.23.ebuild,v 1.7 2010/01/16 19:04:59 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/dclib/dclib-0.3.23.ebuild,v 1.8 2010/03/23 10:38:10 ssuominen Exp $ + +EAPI=2 +inherit autotools eutils DESCRIPTION="DirectConnect client library" HOMEPAGE="http://sourceforge.net/projects/wxdcgui" @@ -9,12 +12,27 @@ SRC_URI="mirror://sourceforge/wxdcgui/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 hppa ppc ppc64 x86" -IUSE="" +IUSE="socks5 ssl" + +DEPEND="app-arch/bzip2 + sys-libs/zlib + dev-libs/libxml2 + socks5? ( net-proxy/dante ) + ssl? ( dev-libs/openssl )" -DEPEND=">=app-arch/bzip2-1.0.2 - >=dev-libs/libxml2-2.4.22" +src_prepare() { + epatch "${FILESDIR}"/${P}-asneeded.patch + eautoreconf +} + +src_configure() { + econf \ + --disable-dependency-tracking \ + $(use_enable socks5 socks) \ + $(use_enable ssl) +} src_install() { - emake DESTDIR="${D}" install || die "emake install failed." + emake DESTDIR="${D}" install || die dodoc AUTHORS ChangeLog NEWS README TODO } |