diff options
author | Markus Ullmann <jokey@gentoo.org> | 2009-01-31 20:02:19 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2009-01-31 20:02:19 +0000 |
commit | 3aeb3f4595fe0244e248f3715544400ce588ff2d (patch) | |
tree | 9668f57c4ade3b75092660a705250813a523eea6 /app-misc/ytree | |
parent | Add dependency for bug 254940 and temporarily -j1 to emake until a solution e... (diff) | |
download | gentoo-2-3aeb3f4595fe0244e248f3715544400ce588ff2d.tar.gz gentoo-2-3aeb3f4595fe0244e248f3715544400ce588ff2d.tar.bz2 gentoo-2-3aeb3f4595fe0244e248f3715544400ce588ff2d.zip |
Add cflag support for bug #240085
(Portage version: 2.2_rc23/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'app-misc/ytree')
-rw-r--r-- | app-misc/ytree/ChangeLog | 10 | ||||
-rw-r--r-- | app-misc/ytree/files/ytree-1.92-support-cflags.patch | 12 | ||||
-rw-r--r-- | app-misc/ytree/ytree-1.92-r1.ebuild (renamed from app-misc/ytree/ytree-1.92.ebuild) | 12 |
3 files changed, 30 insertions, 4 deletions
diff --git a/app-misc/ytree/ChangeLog b/app-misc/ytree/ChangeLog index 8c026a210048..bd790bae2300 100644 --- a/app-misc/ytree/ChangeLog +++ b/app-misc/ytree/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/ytree -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/ytree/ChangeLog,v 1.7 2008/10/27 17:08:53 jokey Exp $ +# 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 $ + +*ytree-1.92-r1 (31 Jan 2009) + + 31 Jan 2009; <jokey@gentoo.org> +files/ytree-1.92-support-cflags.patch, + -ytree-1.92.ebuild, +ytree-1.92-r1.ebuild: + Add cflag support for bug #240085 27 Oct 2008; Markus Ullmann <jokey@gentoo.org> -ytree-1.90.ebuild, ytree-1.92.ebuild: diff --git a/app-misc/ytree/files/ytree-1.92-support-cflags.patch b/app-misc/ytree/files/ytree-1.92-support-cflags.patch new file mode 100644 index 000000000000..024149c654a0 --- /dev/null +++ b/app-misc/ytree/files/ytree-1.92-support-cflags.patch @@ -0,0 +1,12 @@ +diff -urN ./ytree-1.92.orig/Makefile ./ytree-1.92/Makefile +--- ./ytree-1.92.orig/Makefile 2009-01-31 20:57:46.000000000 +0100 ++++ ./ytree-1.92/Makefile 2009-01-31 20:58:11.000000000 +0100 +@@ -32,7 +32,7 @@ + COLOR = -DCOLOR_SUPPORT + CLOCK = -DCLOCK_SUPPORT # Experimental! + READLINE = -DREADLINE_SUPPORT +-CFLAGS = -D_GNU_SOURCE $(ADD_CFLAGS) $(COLOR) $(CLOCK) $(READLINE) ++CFLAGS += -D_GNU_SOURCE $(ADD_CFLAGS) $(COLOR) $(CLOCK) $(READLINE) + LDFLAGS = -lncurses -lreadline + + ########################### diff --git a/app-misc/ytree/ytree-1.92.ebuild b/app-misc/ytree/ytree-1.92-r1.ebuild index 25160bab160f..f0bee3c7d7df 100644 --- a/app-misc/ytree/ytree-1.92.ebuild +++ b/app-misc/ytree/ytree-1.92-r1.ebuild @@ -1,6 +1,10 @@ -# 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/app-misc/ytree/ytree-1.92.ebuild,v 1.2 2008/10/27 17:08:53 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/ytree/ytree-1.92-r1.ebuild,v 1.1 2009/01/31 20:02:19 jokey Exp $ + +EAPI=2 + +inherit eutils DESCRIPTION="A (curses-based) file manager" HOMEPAGE="http://www.han.de/~werner/ytree.html" @@ -15,6 +19,10 @@ DEPEND="sys-libs/readline sys-libs/ncurses" RDEPEND="${DEPEND}" +src_prepare() { + epatch "${FILESDIR}"/${P}-support-cflags.patch +} + src_install() { dobin ytree doman ytree.1 |