diff options
-rw-r--r-- | app-admin/keepassx/ChangeLog | 6 | ||||
-rw-r--r-- | app-admin/keepassx/keepassx-0.2.2.ebuild | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/app-admin/keepassx/ChangeLog b/app-admin/keepassx/ChangeLog index 525e5df57386..3f74948d62db 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.8 2007/01/01 22:18:38 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/keepassx/ChangeLog,v 1.9 2007/03/22 08:08:24 opfer Exp $ + + 22 Mar 2007; Christian Faulhammer <opfer@gentoo.org> + keepassx-0.2.2.ebuild: + moved USE flag check from src_install to pkg_setup 01 Jan 2007; Sven Wegener <swegener@gentoo.org> keepassx-0.2.2.ebuild: Quote has_version argument because of > operator. Use full atoms for diff --git a/app-admin/keepassx/keepassx-0.2.2.ebuild b/app-admin/keepassx/keepassx-0.2.2.ebuild index 280161a49935..a078dcdac5d0 100644 --- a/app-admin/keepassx/keepassx-0.2.2.ebuild +++ b/app-admin/keepassx/keepassx-0.2.2.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.ebuild,v 1.7 2007/01/01 22:18:38 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/keepassx/keepassx-0.2.2.ebuild,v 1.8 2007/03/22 08:08:24 opfer Exp $ inherit eutils @@ -15,14 +15,16 @@ IUSE="" DEPEND=">=x11-libs/qt-4.1" RDEPEND="${DEPEND}" -src_compile() { +pkg_setup() { if has_version ">=x11-libs/qt-4.2.2" && ! built_with_use x11-libs/qt qt3support; then eerror eerror "You need to rebuild x11-libs/qt with USE=qt3support enabled" eerror die "please rebuild x11-libs/qt with USE=qt3support" fi +} +src_compile() { /usr/bin/qmake || die "qmake failed" emake || die "emake failed" } |