summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2009-03-03 18:16:45 +0000
committerJeroen Roovers <jer@gentoo.org>2009-03-03 18:16:45 +0000
commit4e9ff9a2e7ea5edd25e0cf65ff11722a8f7286af (patch)
tree37b7faeb57cfde4ea6a0f6ba291ba4cb269c2778 /net-ftp/ncftp/ncftp-3.2.2-r1.ebuild
parentjava-pkg-2_pkg_preinst -> java-pkg-opt-2_pkg_preinst. (diff)
downloadgentoo-2-4e9ff9a2e7ea5edd25e0cf65ff11722a8f7286af.tar.gz
gentoo-2-4e9ff9a2e7ea5edd25e0cf65ff11722a8f7286af.tar.bz2
gentoo-2-4e9ff9a2e7ea5edd25e0cf65ff11722a8f7286af.zip
Prevent installation to /--prefix/usr/bin/ncftp with non-standard LC_ALL, thanks to Mart Stöör. Set RDEPEND too.
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'net-ftp/ncftp/ncftp-3.2.2-r1.ebuild')
-rw-r--r--net-ftp/ncftp/ncftp-3.2.2-r1.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/net-ftp/ncftp/ncftp-3.2.2-r1.ebuild b/net-ftp/ncftp/ncftp-3.2.2-r1.ebuild
index 501ea15bf35b..079f3592cbb9 100644
--- a/net-ftp/ncftp/ncftp-3.2.2-r1.ebuild
+++ b/net-ftp/ncftp/ncftp-3.2.2-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/ncftp/ncftp-3.2.2-r1.ebuild,v 1.10 2008/11/06 02:33:42 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/ncftp/ncftp-3.2.2-r1.ebuild,v 1.11 2009/03/03 18:16:45 jer Exp $
inherit eutils toolchain-funcs
@@ -16,6 +16,7 @@ KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="ipv6"
DEPEND=">=sys-libs/ncurses-5.2"
+RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
@@ -29,6 +30,10 @@ src_unpack() {
-e 's:@STRIP@:true:' \
Makefile.in */Makefile.in || die
}
+src_compile() {
+ LC_ALL="C" econf || die "econf failed"
+ emake || die "emake failed"
+}
src_install() {
emake install DESTDIR="${D}" || die