From 741561d01a5a59dbfc11b01bf5a3e2aa8766ec0b Mon Sep 17 00:00:00 2001 From: Christian Faulhammer Date: Mon, 15 Oct 2007 22:44:38 +0000 Subject: use --missing true instead of has_version to detect a supported version of qt (Portage version: 2.1.3.9) --- app-admin/keepassx/ChangeLog | 6 +++++- app-admin/keepassx/keepassx-0.2.2-r1.ebuild | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'app-admin/keepassx') diff --git a/app-admin/keepassx/ChangeLog b/app-admin/keepassx/ChangeLog index 943911e22ccf..247eff297c27 100644 --- a/app-admin/keepassx/ChangeLog +++ b/app-admin/keepassx/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-admin/keepassx # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/keepassx/ChangeLog,v 1.11 2007/08/21 11:20:15 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/keepassx/ChangeLog,v 1.12 2007/10/15 22:44:38 opfer Exp $ + + 15 Oct 2007; Christian Faulhammer + keepassx-0.2.2-r1.ebuild: + use --missing true instead of has_version to detect a supported version of qt 21 Aug 2007; Christian Faulhammer -keepassx-0.2.2.ebuild, keepassx-0.2.2-r1.ebuild: diff --git a/app-admin/keepassx/keepassx-0.2.2-r1.ebuild b/app-admin/keepassx/keepassx-0.2.2-r1.ebuild index 044a47ae1ccf..3a9746de0c53 100644 --- a/app-admin/keepassx/keepassx-0.2.2-r1.ebuild +++ b/app-admin/keepassx/keepassx-0.2.2-r1.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/app-admin/keepassx/keepassx-0.2.2-r1.ebuild,v 1.2 2007/08/21 11:20:15 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/keepassx/keepassx-0.2.2-r1.ebuild,v 1.3 2007/10/15 22:44:38 opfer Exp $ inherit eutils @@ -16,7 +16,7 @@ DEPEND=">=x11-libs/qt-4.1" RDEPEND="${DEPEND}" pkg_setup() { - if has_version ">=x11-libs/qt-4.2.2" && ! built_with_use x11-libs/qt qt3support; then + if ! built_with_use --missing true x11-libs/qt qt3support; then eerror eerror "You need to rebuild x11-libs/qt with USE=qt3support enabled" eerror -- cgit v1.2.3-65-gdbad