diff options
author | Raúl Porcel <armin76@gentoo.org> | 2007-05-30 17:40:42 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2007-05-30 17:40:42 +0000 |
commit | c36f024067c978393d87f51fe02eb1aa44ea5e3b (patch) | |
tree | 7ab22fe5aab0379917bb4a13e088b67ee569f649 /net-p2p/qbittorrent/qbittorrent-0.8.0.ebuild | |
parent | Re-fix threads use-flag check if >boost-1.33, bug 180322 (diff) | |
download | gentoo-2-c36f024067c978393d87f51fe02eb1aa44ea5e3b.tar.gz gentoo-2-c36f024067c978393d87f51fe02eb1aa44ea5e3b.tar.bz2 gentoo-2-c36f024067c978393d87f51fe02eb1aa44ea5e3b.zip |
Re-fix threads use-flag check if >boost-1.33, bug 180322
(Portage version: 2.1.2.7)
Diffstat (limited to 'net-p2p/qbittorrent/qbittorrent-0.8.0.ebuild')
-rw-r--r-- | net-p2p/qbittorrent/qbittorrent-0.8.0.ebuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net-p2p/qbittorrent/qbittorrent-0.8.0.ebuild b/net-p2p/qbittorrent/qbittorrent-0.8.0.ebuild index f2ebc16e20e8..646e26e81691 100644 --- a/net-p2p/qbittorrent/qbittorrent-0.8.0.ebuild +++ b/net-p2p/qbittorrent/qbittorrent-0.8.0.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/qbittorrent/qbittorrent-0.8.0.ebuild,v 1.3 2007/04/20 15:09:49 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/qbittorrent/qbittorrent-0.8.0.ebuild,v 1.4 2007/05/30 17:40:42 armin76 Exp $ inherit eutils qt4 @@ -21,10 +21,11 @@ DEPEND=">=net-libs/rb_libtorrent-0.11 RDEPEND="${DEPEND}" pkg_setup() { - if has_version "<dev-libs/boost-1.34" && \ + # We need boost built with threads + if ! has_version ">=dev-libs/boost-1.34_pre20061214" && \ ! built_with_use "dev-libs/boost" threads; then - eerror "dev-libs/boost has to be built with threads or threadsonly USE-flag." - die "Missing threads/threadsonly USE-flag for dev-libs/boost" + eerror "${PN} needs dev-libs/boost built with threads USE flag" + die "dev-libs/boost is built without threads USE flag" fi } |