--- /usr/portage/net-ftp/lftp/lftp-4.4.0.ebuild 2012-12-16 11:01:22.000000000 -0700 +++ /usr/portage/net-ftp/lftp/lftp-4.4.0.ebuild 2012-12-16 18:32:03.489709846 -0700 @@ -3,7 +3,7 @@ # $Header: /var/cvsroot/gentoo-x86/net-ftp/lftp/lftp-4.4.0.ebuild,v 1.6 2012/12/16 17:50:07 armin76 Exp $ EAPI=4 -inherit autotools eutils +inherit autotools eutils libtool DESCRIPTION="A sophisticated ftp/sftp/http/https/torrent client and file transfer program" HOMEPAGE="http://lftp.yar.ru/" @@ -11,7 +11,7 @@ LICENSE="GPL-3" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~sparc-fbsd ~x86-fbsd" +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" LFTP_LINGUAS="cs de es fr it ja ko pl pt_BR ru zh_CN zh_HK zh_TW" @@ -53,6 +53,7 @@ "${FILESDIR}/${PN}-4.3.5-autopoint.patch" \ "${FILESDIR}/${PN}-4.3.8-gets.patch" eautoreconf + elibtoolize # for Darwin bundles } src_configure() { @@ -61,17 +62,17 @@ if use ssl && use gnutls ; then myconf="${myconf} --without-openssl" elif use ssl && ! use gnutls ; then - myconf="${myconf} --without-gnutls --with-openssl=/usr" + myconf="${myconf} --without-gnutls --with-openssl=${EPREFIX}/usr" else myconf="${myconf} --without-gnutls --without-openssl" fi - use socks5 && myconf="${myconf} --with-socksdante=/usr" \ + use socks5 && myconf="${myconf} --with-socksdante=${EPREFIX}/usr" \ || myconf="${myconf} --without-socksdante" econf \ --enable-packager-mode \ - --sysconfdir=/etc/lftp \ + --sysconfdir="${EPREFIX}"/etc/lftp \ --with-modules \ $(use_enable nls) \ ${myconf}