Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 447540
Collapse All | Expand All

(-)/usr/portage/net-ftp/lftp/lftp-4.4.0.ebuild (-5 / +6 lines)
Lines 3-9 Link Here
3
# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/lftp-4.4.0.ebuild,v 1.6 2012/12/16 17:50:07 armin76 Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/lftp-4.4.0.ebuild,v 1.6 2012/12/16 17:50:07 armin76 Exp $
4
4
5
EAPI=4
5
EAPI=4
6
inherit autotools eutils
6
inherit autotools eutils libtool
7
7
8
DESCRIPTION="A sophisticated ftp/sftp/http/https/torrent client and file transfer program"
8
DESCRIPTION="A sophisticated ftp/sftp/http/https/torrent client and file transfer program"
9
HOMEPAGE="http://lftp.yar.ru/"
9
HOMEPAGE="http://lftp.yar.ru/"
Lines 11-17 Link Here
11
11
12
LICENSE="GPL-3"
12
LICENSE="GPL-3"
13
SLOT="0"
13
SLOT="0"
14
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~sparc-fbsd ~x86-fbsd"
14
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
15
15
16
LFTP_LINGUAS="cs de es fr it ja ko pl pt_BR ru zh_CN zh_HK zh_TW"
16
LFTP_LINGUAS="cs de es fr it ja ko pl pt_BR ru zh_CN zh_HK zh_TW"
17
17
Lines 53-58 Link Here
53
		"${FILESDIR}/${PN}-4.3.5-autopoint.patch" \
53
		"${FILESDIR}/${PN}-4.3.5-autopoint.patch" \
54
		"${FILESDIR}/${PN}-4.3.8-gets.patch"
54
		"${FILESDIR}/${PN}-4.3.8-gets.patch"
55
	eautoreconf
55
	eautoreconf
56
	elibtoolize # for Darwin bundles
56
}
57
}
57
58
58
src_configure() {
59
src_configure() {
Lines 61-77 Link Here
61
	if use ssl && use gnutls ; then
62
	if use ssl && use gnutls ; then
62
		myconf="${myconf} --without-openssl"
63
		myconf="${myconf} --without-openssl"
63
	elif use ssl && ! use gnutls ; then
64
	elif use ssl && ! use gnutls ; then
64
		myconf="${myconf} --without-gnutls --with-openssl=/usr"
65
		myconf="${myconf} --without-gnutls --with-openssl=${EPREFIX}/usr"
65
	else
66
	else
66
		myconf="${myconf} --without-gnutls --without-openssl"
67
		myconf="${myconf} --without-gnutls --without-openssl"
67
	fi
68
	fi
68
69
69
	use socks5 && myconf="${myconf} --with-socksdante=/usr" \
70
	use socks5 && myconf="${myconf} --with-socksdante=${EPREFIX}/usr" \
70
		|| myconf="${myconf} --without-socksdante"
71
		|| myconf="${myconf} --without-socksdante"
71
72
72
	econf \
73
	econf \
73
		--enable-packager-mode \
74
		--enable-packager-mode \
74
		--sysconfdir=/etc/lftp \
75
		--sysconfdir="${EPREFIX}"/etc/lftp \
75
		--with-modules \
76
		--with-modules \
76
		$(use_enable nls) \
77
		$(use_enable nls) \
77
		${myconf}
78
		${myconf}

Return to bug 447540