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
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')
-rw-r--r--net-ftp/ncftp/ChangeLog8
-rw-r--r--net-ftp/ncftp/ncftp-3.2.2-r1.ebuild9
2 files changed, 13 insertions, 4 deletions
diff --git a/net-ftp/ncftp/ChangeLog b/net-ftp/ncftp/ChangeLog
index 7deb14bdbcb7..0ae9bf294d32 100644
--- a/net-ftp/ncftp/ChangeLog
+++ b/net-ftp/ncftp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-ftp/ncftp
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/ncftp/ChangeLog,v 1.88 2008/11/27 19:39:37 jer Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/ncftp/ChangeLog,v 1.89 2009/03/03 18:16:45 jer Exp $
+
+ 03 Mar 2009; Jeroen Roovers <jer@gentoo.org> ncftp-3.2.2-r1.ebuild:
+ Prevent installation to /--prefix/usr/bin/ncftp with non-standard LC_ALL,
+ thanks to Mart Stöör. Set RDEPEND too.
27 Nov 2008; Jeroen Roovers <jer@gentoo.org> metadata.xml,
-ncftp-3.2.1.ebuild, -files/ncftp-3.2.1-build.patch:
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