From 81f9eae98533e5cc5ab8803918d0a64aaa8cdab0 Mon Sep 17 00:00:00 2001 From: Raúl Porcel Date: Fri, 2 Mar 2007 09:24:57 +0000 Subject: Fix has_version syntax, bug 168892 (Portage version: 2.1.2-r12) --- net-p2p/dctc/ChangeLog | 5 ++++- net-p2p/dctc/dctc-0.85.9.ebuild | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'net-p2p/dctc') diff --git a/net-p2p/dctc/ChangeLog b/net-p2p/dctc/ChangeLog index 35f9910777d6..fd8b4b501287 100644 --- a/net-p2p/dctc/ChangeLog +++ b/net-p2p/dctc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-p2p/dctc # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/dctc/ChangeLog,v 1.34 2007/01/22 20:04:29 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/dctc/ChangeLog,v 1.35 2007/03/02 09:24:57 armin76 Exp $ + + 02 Mar 2007; Raúl Porcel dctc-0.85.9.ebuild: + Fix has_version syntax, bug 168892 22 Jan 2007; Raúl Porcel dctc-0.85.9.ebuild: Fix again db-4.2 issue, bug 135320 diff --git a/net-p2p/dctc/dctc-0.85.9.ebuild b/net-p2p/dctc/dctc-0.85.9.ebuild index 5ea7cad7c024..f4e102cbfe97 100644 --- a/net-p2p/dctc/dctc-0.85.9.ebuild +++ b/net-p2p/dctc/dctc-0.85.9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/dctc/dctc-0.85.9.ebuild,v 1.17 2007/01/22 20:04:29 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/dctc/dctc-0.85.9.ebuild,v 1.18 2007/03/02 09:24:57 armin76 Exp $ WANT_AUTOCONF="latest" WANT_AUTOMAKE="latest" @@ -33,7 +33,7 @@ src_unpack() { eautoreconf # This fix fails with db-4.3 - if has_version "=sys-libs/db-4.2*" && ! has_version ">=sys-libs/db-4.3*"; then + if has_version "=sys-libs/db-4.2*" && ! has_version ">=sys-libs/db-4.3"; then local dbfunc="`grep '^#define.*db_env_create' /usr/include/db.h | awk '{print $NF}'`" if [ "${dbfunc}" != "db_env_create" ] ; then sed -i "s:db_env_create:${dbfunc}:g" configure -- cgit v1.2.3-65-gdbad