summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-07-13 11:20:03 +0000
committerJustin Lecher <jlec@gentoo.org>2013-07-13 11:20:03 +0000
commit4db63dcc8247681f45795bc16659acc42ecd05ca (patch)
treef77f84a14d5741f44c8b47cd528a0ff839ea4409 /app-misc
parentInstall unit file (#393503) (diff)
downloadgentoo-2-4db63dcc8247681f45795bc16659acc42ecd05ca.tar.gz
gentoo-2-4db63dcc8247681f45795bc16659acc42ecd05ca.tar.bz2
gentoo-2-4db63dcc8247681f45795bc16659acc42ecd05ca.zip
app-misc/devtodo: Fix compilation with ncurses[tinfo]
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/devtodo/ChangeLog6
-rw-r--r--app-misc/devtodo/devtodo-0.1.20-r1.ebuild13
-rw-r--r--app-misc/devtodo/metadata.xml2
3 files changed, 15 insertions, 6 deletions
diff --git a/app-misc/devtodo/ChangeLog b/app-misc/devtodo/ChangeLog
index be65d259d475..9335a328776a 100644
--- a/app-misc/devtodo/ChangeLog
+++ b/app-misc/devtodo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-misc/devtodo
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/devtodo/ChangeLog,v 1.86 2013/01/12 22:47:20 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/devtodo/ChangeLog,v 1.87 2013/07/13 11:20:03 jlec Exp $
+
+ 13 Jul 2013; Justin Lecher <jlec@gentoo.org> devtodo-0.1.20-r1.ebuild,
+ metadata.xml:
+ Fix compilation with ncurses[tinfo]
*devtodo-0.1.20-r1 (12 Jan 2013)
diff --git a/app-misc/devtodo/devtodo-0.1.20-r1.ebuild b/app-misc/devtodo/devtodo-0.1.20-r1.ebuild
index e7d47008c427..a63b76998415 100644
--- a/app-misc/devtodo/devtodo-0.1.20-r1.ebuild
+++ b/app-misc/devtodo/devtodo-0.1.20-r1.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/devtodo/devtodo-0.1.20-r1.ebuild,v 1.1 2013/01/12 22:47:20 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/devtodo/devtodo-0.1.20-r1.ebuild,v 1.2 2013/07/13 11:20:03 jlec Exp $
EAPI="5"
AUTOTOOLS_AUTORECONF=1
AUTOTOOLS_IN_SOURCE_BUILD=1
-inherit autotools-utils bash-completion-r1 eutils flag-o-matic
+inherit autotools-utils bash-completion-r1 eutils flag-o-matic toolchain-funcs
DESCRIPTION="A nice command line todo list for developers"
HOMEPAGE="http://swapoff.org/DevTodo"
@@ -30,10 +30,15 @@ PATCHES=(
src_prepare() {
# fix regex.h issue on case-insensitive file-systems #332235
- sed -i -e 's/Regex.h/DTRegex.h/' \
- util/Lexer.h util/Makefile.{am,in} util/Regex.cc || die
+ sed \
+ -e 's/Regex.h/DTRegex.h/' \
+ -i util/Lexer.h util/Makefile.{am,in} util/Regex.cc || die
mv util/{,DT}Regex.h || die
+ sed \
+ -e "/^LIBS/s:$: $($(tc-getPKG_CONFIG) --libs ncursesw):g" \
+ -i src/Makefile.am || die
+
autotools-utils_src_prepare
}
diff --git a/app-misc/devtodo/metadata.xml b/app-misc/devtodo/metadata.xml
index 80ac69d9c2f2..f23b9cae1593 100644
--- a/app-misc/devtodo/metadata.xml
+++ b/app-misc/devtodo/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>shell-tools</herd>
+ <herd>shell-tools</herd>
</pkgmetadata>