Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/task/files: task-1.9.2-configure.patch
Date: Wed, 06 Oct 2010 23:02:56
Message-Id: 20101006221907.6B5DA20054@flycatcher.gentoo.org
1 radhermit 10/10/06 22:19:07
2
3 Added: task-1.9.2-configure.patch
4 Log:
5 Revision bump and remove old. Apply patch to fix bug #339773, thanks to James Rowe for reporting.
6
7 (Portage version: 2.2_rc88/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 app-misc/task/files/task-1.9.2-configure.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/task/files/task-1.9.2-configure.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/task/files/task-1.9.2-configure.patch?rev=1.1&content-type=text/plain
14
15 Index: task-1.9.2-configure.patch
16 ===================================================================
17 --- task-1.9.2/configure.ac.orig 2010-10-06 10:12:58.910069290 -0700
18 +++ task-1.9.2/configure.ac 2010-10-06 10:31:02.943655695 -0700
19 @@ -66,31 +66,10 @@
20
21 # ncurses enabled by default.
22 AC_ARG_WITH([ncurses],
23 - [AS_HELP_STRING([--without-ncurses], [disable support for ncurses])],
24 - [with_ncurses=no],
25 - [with_ncurses=yes])
26 -
27 -AC_ARG_WITH([ncurses-inc],
28 - [AS_HELP_STRING ([--with-ncurses-inc=DIR], [ncurses include files are in DIR])],
29 - [ncurses_inc=$withval],
30 - [ncurses_inc=''])
31 -
32 -AC_ARG_WITH([ncurses-lib],
33 - [AS_HELP_STRING ([--with-ncurses-lib=DIR], [ncurses lib files are in DIR])],
34 - [ncurses_lib=$withval],
35 - [ncurses_lib=''])
36 + AS_HELP_STRING([--without-ncurses], [disable support for ncurses]))
37
38 if test "x$with_ncurses" = "xyes" ; then
39 AC_DEFINE([HAVE_LIBNCURSES], [1], [Defined if you have libncurses])
40 - if test -n "$ncurses_inc"; then
41 - CFLAGS="$CFLAGS -I$ncurses_inc"
42 - CXXFLAGS="$CXXFLAGS -I$ncurses_inc"
43 - fi
44 -
45 - if test -n "$ncurses_lib"; then
46 - LDFLAGS="$LDFLAGS -L$ncurses_lib"
47 - fi
48 -
49 AC_CHECK_LIB([ncurses],[main])
50 fi
51
52 @@ -128,31 +107,10 @@
53
54 # Lua disabled by default.
55 AC_ARG_WITH([lua],
56 - [AS_HELP_STRING([--with-lua], [enable support for lua])],
57 - [with_lua=yes],
58 - [with_lua=no])
59 -
60 -AC_ARG_WITH([lua-inc],
61 - [AS_HELP_STRING ([--with-lua-inc=DIR], [lua include files are in DIR])],
62 - [lua_inc=$withval],
63 - [lua_inc=''])
64 -
65 -AC_ARG_WITH([lua-lib],
66 - [AS_HELP_STRING ([--with-lua-lib=DIR], [lua lib files are in DIR])],
67 - [lua_lib=$withval],
68 - [lua_lib=''])
69 + AS_HELP_STRING([--with-lua], [enable support for lua]))
70
71 if test "x$with_lua" = "xyes" ; then
72 AC_DEFINE([HAVE_LIBLUA], [1], [Defined if you have liblua])
73 - if test -n "$lua_inc"; then
74 - CFLAGS="$CFLAGS -I$lua_inc"
75 - CXXFLAGS="$CXXFLAGS -I$lua_inc"
76 - fi
77 -
78 - if test -n "$lua_lib"; then
79 - LDFLAGS="$LDFLAGS -L$lua_lib"
80 - fi
81 -
82 AC_CHECK_LIB([lua],[main])
83 fi