summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2010-10-06 22:19:07 +0000
committerTim Harder <radhermit@gentoo.org>2010-10-06 22:19:07 +0000
commit7d76fd26696d98aa42ddc4111c92e72fed8e3f1e (patch)
treeaebcc0e00a4d3356d08e3bb18aea09e00fa3fe55 /app-misc/task
parentVersion bump (diff)
downloadgentoo-2-7d76fd26696d98aa42ddc4111c92e72fed8e3f1e.tar.gz
gentoo-2-7d76fd26696d98aa42ddc4111c92e72fed8e3f1e.tar.bz2
gentoo-2-7d76fd26696d98aa42ddc4111c92e72fed8e3f1e.zip
Revision bump and remove old. Apply patch to fix bug #339773, thanks to James Rowe for reporting.
(Portage version: 2.2_rc88/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/task')
-rw-r--r--app-misc/task/ChangeLog9
-rw-r--r--app-misc/task/files/task-1.9.2-configure.patch68
-rw-r--r--app-misc/task/task-1.9.2-r1.ebuild (renamed from app-misc/task/task-1.9.2.ebuild)9
3 files changed, 84 insertions, 2 deletions
diff --git a/app-misc/task/ChangeLog b/app-misc/task/ChangeLog
index f95b14be51ce..5aba078f18d6 100644
--- a/app-misc/task/ChangeLog
+++ b/app-misc/task/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-misc/task
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/task/ChangeLog,v 1.1 2010/10/03 21:31:13 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/task/ChangeLog,v 1.2 2010/10/06 22:19:07 radhermit Exp $
+
+*task-1.9.2-r1 (06 Oct 2010)
+
+ 06 Oct 2010; Tim Harder <radhermit@gentoo.org> -task-1.9.2.ebuild,
+ +task-1.9.2-r1.ebuild, +files/task-1.9.2-configure.patch:
+ Revision bump and remove old. Apply patch to fix bug #339773, thanks to
+ James Rowe for reporting.
*task-1.9.2 (03 Oct 2010)
diff --git a/app-misc/task/files/task-1.9.2-configure.patch b/app-misc/task/files/task-1.9.2-configure.patch
new file mode 100644
index 000000000000..2a3829e9fe18
--- /dev/null
+++ b/app-misc/task/files/task-1.9.2-configure.patch
@@ -0,0 +1,68 @@
+--- task-1.9.2/configure.ac.orig 2010-10-06 10:12:58.910069290 -0700
++++ task-1.9.2/configure.ac 2010-10-06 10:31:02.943655695 -0700
+@@ -66,31 +66,10 @@
+
+ # ncurses enabled by default.
+ AC_ARG_WITH([ncurses],
+- [AS_HELP_STRING([--without-ncurses], [disable support for ncurses])],
+- [with_ncurses=no],
+- [with_ncurses=yes])
+-
+-AC_ARG_WITH([ncurses-inc],
+- [AS_HELP_STRING ([--with-ncurses-inc=DIR], [ncurses include files are in DIR])],
+- [ncurses_inc=$withval],
+- [ncurses_inc=''])
+-
+-AC_ARG_WITH([ncurses-lib],
+- [AS_HELP_STRING ([--with-ncurses-lib=DIR], [ncurses lib files are in DIR])],
+- [ncurses_lib=$withval],
+- [ncurses_lib=''])
++ AS_HELP_STRING([--without-ncurses], [disable support for ncurses]))
+
+ if test "x$with_ncurses" = "xyes" ; then
+ AC_DEFINE([HAVE_LIBNCURSES], [1], [Defined if you have libncurses])
+- if test -n "$ncurses_inc"; then
+- CFLAGS="$CFLAGS -I$ncurses_inc"
+- CXXFLAGS="$CXXFLAGS -I$ncurses_inc"
+- fi
+-
+- if test -n "$ncurses_lib"; then
+- LDFLAGS="$LDFLAGS -L$ncurses_lib"
+- fi
+-
+ AC_CHECK_LIB([ncurses],[main])
+ fi
+
+@@ -128,31 +107,10 @@
+
+ # Lua disabled by default.
+ AC_ARG_WITH([lua],
+- [AS_HELP_STRING([--with-lua], [enable support for lua])],
+- [with_lua=yes],
+- [with_lua=no])
+-
+-AC_ARG_WITH([lua-inc],
+- [AS_HELP_STRING ([--with-lua-inc=DIR], [lua include files are in DIR])],
+- [lua_inc=$withval],
+- [lua_inc=''])
+-
+-AC_ARG_WITH([lua-lib],
+- [AS_HELP_STRING ([--with-lua-lib=DIR], [lua lib files are in DIR])],
+- [lua_lib=$withval],
+- [lua_lib=''])
++ AS_HELP_STRING([--with-lua], [enable support for lua]))
+
+ if test "x$with_lua" = "xyes" ; then
+ AC_DEFINE([HAVE_LIBLUA], [1], [Defined if you have liblua])
+- if test -n "$lua_inc"; then
+- CFLAGS="$CFLAGS -I$lua_inc"
+- CXXFLAGS="$CXXFLAGS -I$lua_inc"
+- fi
+-
+- if test -n "$lua_lib"; then
+- LDFLAGS="$LDFLAGS -L$lua_lib"
+- fi
+-
+ AC_CHECK_LIB([lua],[main])
+ fi
+
diff --git a/app-misc/task/task-1.9.2.ebuild b/app-misc/task/task-1.9.2-r1.ebuild
index 05ab22dee0ec..d74165435c1b 100644
--- a/app-misc/task/task-1.9.2.ebuild
+++ b/app-misc/task/task-1.9.2-r1.ebuild
@@ -1,9 +1,11 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/task/task-1.9.2.ebuild,v 1.1 2010/10/03 21:31:13 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/task/task-1.9.2-r1.ebuild,v 1.1 2010/10/06 22:19:07 radhermit Exp $
EAPI=3
+inherit eutils autotools
+
DESCRIPTION="A task management tool with a command-line interface"
HOMEPAGE="http://taskwarrior.org/projects/show/taskwarrior/"
SRC_URI="http://www.taskwarrior.org/download/${P}.tar.gz"
@@ -17,6 +19,11 @@ DEPEND="lua? ( dev-lang/lua )
ncurses? ( sys-libs/ncurses )"
RDEPEND="${DEPEND}"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-configure.patch
+ eautoreconf
+}
+
src_configure() {
econf \
--docdir="/usr/share/doc/${PF}" \