summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2013-03-04 10:55:57 +0000
committerNaohiro Aota <naota@gentoo.org>2013-03-04 10:55:57 +0000
commit37e9e4a09c3ff16c9f38397cd6eeed9bcac5657d (patch)
treebf9364ebee35e98b0726895d1ab5c7c1ff4d96e3 /app-text/lv
parentStable for amd64 wrt bug #457454 (diff)
downloadgentoo-2-37e9e4a09c3ff16c9f38397cd6eeed9bcac5657d.tar.gz
gentoo-2-37e9e4a09c3ff16c9f38397cd6eeed9bcac5657d.tar.bz2
gentoo-2-37e9e4a09c3ff16c9f38397cd6eeed9bcac5657d.zip
Add a patch to scan ncurses pkg-config file. #459594
(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key F8551514)
Diffstat (limited to 'app-text/lv')
-rw-r--r--app-text/lv/ChangeLog6
-rw-r--r--app-text/lv/files/lv-4.51-tinfo.patch22
-rw-r--r--app-text/lv/lv-4.51-r3.ebuild8
3 files changed, 32 insertions, 4 deletions
diff --git a/app-text/lv/ChangeLog b/app-text/lv/ChangeLog
index 7e75f3cc098e..edf9ca61d2be 100644
--- a/app-text/lv/ChangeLog
+++ b/app-text/lv/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/lv
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/lv/ChangeLog,v 1.43 2013/02/27 12:43:45 hattya Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/lv/ChangeLog,v 1.44 2013/03/04 10:55:57 naota Exp $
+
+ 04 Mar 2013; Naohiro Aota <naota@gentoo.org> +files/lv-4.51-tinfo.patch,
+ lv-4.51-r3.ebuild:
+ Add a patch to scan ncurses pkg-config file. #459594
27 Feb 2013; Akinori Hattori <hattya@gentoo.org> -lv-4.51-r1.ebuild:
remove old ebuild
diff --git a/app-text/lv/files/lv-4.51-tinfo.patch b/app-text/lv/files/lv-4.51-tinfo.patch
new file mode 100644
index 000000000000..9c17a92a65ef
--- /dev/null
+++ b/app-text/lv/files/lv-4.51-tinfo.patch
@@ -0,0 +1,22 @@
+diff --git a/src/configure.in b/src/configure.in
+index 7d118de..29833a7 100644
+--- a/src/configure.in
++++ b/src/configure.in
+@@ -24,7 +24,16 @@ AC_ARG_ENABLE(purify,
+ dnl Checks for libraries.
+ AC_DEFINE(UNIX)
+ AC_DEFINE(TERMCAP)
+-AC_CHECK_LIB(terminfo, tgetstr,, [AC_CHECK_LIB(termcap, tgetstr,, [AC_CHECK_LIB(ncurses, tgetstr,, [AC_CHECK_LIB(curses, tgetstr)])])])
++PKG_CHECK_MODULES(
++ CURSES,
++ ncurses,
++ [
++ CPPFLAGS="$CURSES_CFLAGS $CPPFLAGS"
++ LIBS="$CURSES_LIBS $LIBS"
++ ],
++ [
++ AC_CHECK_LIB(terminfo, tgetstr,, [AC_CHECK_LIB(termcap, tgetstr,, [AC_CHECK_LIB(ncurses, tgetstr,, [AC_CHECK_LIB(curses, tgetstr)])])])
++ ])
+
+ dnl Checks for header files.
+ AC_HEADER_STDC
diff --git a/app-text/lv/lv-4.51-r3.ebuild b/app-text/lv/lv-4.51-r3.ebuild
index 8860be27fbc2..e965cc275f96 100644
--- a/app-text/lv/lv-4.51-r3.ebuild
+++ b/app-text/lv/lv-4.51-r3.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/lv/lv-4.51-r3.ebuild,v 1.7 2012/09/18 03:12:31 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/lv/lv-4.51-r3.ebuild,v 1.8 2013/03/04 10:55:57 naota Exp $
EAPI="4"
-inherit eutils toolchain-funcs
+inherit eutils toolchain-funcs autotools
MY_P="${PN}${PV//./}"
@@ -26,6 +26,8 @@ S="${WORKDIR}/${MY_P}"
src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo.patch
epatch "${FILESDIR}"/${P}-xz.diff
+ epatch "${FILESDIR}"/${P}-tinfo.patch
+ cd "${S}"/src; eautoreconf
}
src_configure() {