diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-02-22 19:45:43 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-02-22 19:45:43 +0000 |
commit | f7ea2e2a9531ec6ad2af2a78d40af1a664e0a7c9 (patch) | |
tree | 5b9e95438bc568e17fade5ee07c86727ef53f357 /sys-devel | |
parent | old (diff) | |
download | gentoo-2-f7ea2e2a9531ec6ad2af2a78d40af1a664e0a7c9.tar.gz gentoo-2-f7ea2e2a9531ec6ad2af2a78d40af1a664e0a7c9.tar.bz2 gentoo-2-f7ea2e2a9531ec6ad2af2a78d40af1a664e0a7c9.zip |
Use system readline only if it is version 5 #259865 by michel.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gdb/ChangeLog | 5 | ||||
-rw-r--r-- | sys-devel/gdb/gdb-6.8-r1.ebuild | 8 |
2 files changed, 8 insertions, 5 deletions
diff --git a/sys-devel/gdb/ChangeLog b/sys-devel/gdb/ChangeLog index 68c27615e442..baf3df771637 100644 --- a/sys-devel/gdb/ChangeLog +++ b/sys-devel/gdb/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-devel/gdb # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.150 2009/02/01 19:29:31 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.151 2009/02/22 19:45:43 vapier Exp $ + + 22 Feb 2009; Mike Frysinger <vapier@gentoo.org> gdb-6.8-r1.ebuild: + Use system readline only if it is version 5 #259865 by michel. 01 Feb 2009; nixnut <nixnut@gentoo.org> gdb-6.8-r1.ebuild: ppc stable #255219 diff --git a/sys-devel/gdb/gdb-6.8-r1.ebuild b/sys-devel/gdb/gdb-6.8-r1.ebuild index 2fb707ef5736..1e65043bfe0f 100644 --- a/sys-devel/gdb/gdb-6.8-r1.ebuild +++ b/sys-devel/gdb/gdb-6.8-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-6.8-r1.ebuild,v 1.8 2009/02/01 19:29:31 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-6.8-r1.ebuild,v 1.9 2009/02/22 19:45:43 vapier Exp $ inherit flag-o-matic eutils @@ -11,7 +11,7 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then fi fi -PATCH_VER="1.3" +PATCH_VER="1.4" DESCRIPTION="GNU debugger" HOMEPAGE="http://sources.redhat.com/gdb/" SRC_URI="http://ftp.gnu.org/gnu/gdb/${P}.tar.bz2 @@ -43,7 +43,7 @@ src_compile() { strip-unsupported-flags econf \ --disable-werror \ - --with-system-readline \ + $(has_version '=sys-libs/readline-5*' && echo --with-system-readline) \ $(use_enable nls) \ $(use multitarget && echo --enable-targets=all) \ || die @@ -51,7 +51,7 @@ src_compile() { } src_test() { - make check || ewarn "tests failed" + emake check || ewarn "tests failed" } src_install() { |