summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-02-23 16:29:16 +0000
committerJeroen Roovers <jer@gentoo.org>2010-02-23 16:29:16 +0000
commitde92ca29c2eb7e5849cdb09a8632526fa5b1d8f6 (patch)
tree032cbd8073d3bf0374bc982d88fdfc56d57c0e0a /app-misc/ytree
parentSpecial case another LINGUAS combination until we have a better (diff)
downloadgentoo-2-de92ca29c2eb7e5849cdb09a8632526fa5b1d8f6.tar.gz
gentoo-2-de92ca29c2eb7e5849cdb09a8632526fa5b1d8f6.tar.bz2
gentoo-2-de92ca29c2eb7e5849cdb09a8632526fa5b1d8f6.zip
Respect CC (bug #243684) and LDFLAGS.
(Portage version: 2.2_rc63/cvs/Linux i686)
Diffstat (limited to 'app-misc/ytree')
-rw-r--r--app-misc/ytree/ChangeLog10
-rw-r--r--app-misc/ytree/files/ytree-1.92-gentoo.patch22
-rw-r--r--app-misc/ytree/ytree-1.92-r2.ebuild33
3 files changed, 63 insertions, 2 deletions
diff --git a/app-misc/ytree/ChangeLog b/app-misc/ytree/ChangeLog
index bd790bae2300..9e7107ef75d8 100644
--- a/app-misc/ytree/ChangeLog
+++ b/app-misc/ytree/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/ytree
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/ytree/ChangeLog,v 1.8 2009/01/31 20:02:19 jokey Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/ytree/ChangeLog,v 1.9 2010/02/23 16:29:15 jer Exp $
+
+*ytree-1.92-r2 (23 Feb 2010)
+
+ 23 Feb 2010; Jeroen Roovers <jer@gentoo.org> +ytree-1.92-r2.ebuild,
+ +files/ytree-1.92-gentoo.patch:
+ Respect CC (bug #243684) and LDFLAGS.
*ytree-1.92-r1 (31 Jan 2009)
diff --git a/app-misc/ytree/files/ytree-1.92-gentoo.patch b/app-misc/ytree/files/ytree-1.92-gentoo.patch
new file mode 100644
index 000000000000..2f5b61d770e0
--- /dev/null
+++ b/app-misc/ytree/files/ytree-1.92-gentoo.patch
@@ -0,0 +1,22 @@
+--- Makefile.org 2008-07-26 16:29:47.000000000 +0200
++++ Makefile 2010-02-23 17:19:45.000000000 +0100
+@@ -7,7 +7,7 @@
+ ############################################################################
+
+
+-CC = cc
++CC ?= cc
+
+ #
+ # ADD_CFLAGS: Add -DVI_KEYS if you want vi-cursor-keys
+@@ -32,8 +32,8 @@
+ COLOR = -DCOLOR_SUPPORT
+ CLOCK = -DCLOCK_SUPPORT # Experimental!
+ READLINE = -DREADLINE_SUPPORT
+-CFLAGS = -D_GNU_SOURCE $(ADD_CFLAGS) $(COLOR) $(CLOCK) $(READLINE)
+-LDFLAGS = -lncurses -lreadline
++CFLAGS += -D_GNU_SOURCE $(COLOR) $(CLOCK) $(READLINE)
++LDFLAGS += -lncurses -lreadline
+
+ ###########################
+ # LINUX with Wide character support (testet with ncurses 5.4)
diff --git a/app-misc/ytree/ytree-1.92-r2.ebuild b/app-misc/ytree/ytree-1.92-r2.ebuild
new file mode 100644
index 000000000000..0dd8fb35a624
--- /dev/null
+++ b/app-misc/ytree/ytree-1.92-r2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/ytree/ytree-1.92-r2.ebuild,v 1.1 2010/02/23 16:29:15 jer Exp $
+
+EAPI=2
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A (curses-based) file manager"
+HOMEPAGE="http://www.han.de/~werner/ytree.html"
+SRC_URI="http://www.han.de/~werner/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="sys-libs/readline
+ sys-libs/ncurses"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+pkg_setup() {
+ tc-export CC
+}
+
+src_install() {
+ dobin ytree
+ doman ytree.1
+}