From e2ee967df3764b8b685b008106e6974d9903baa4 Mon Sep 17 00:00:00 2001
From: Alin Năstac <mrness@gentoo.org>
Date: Sun, 26 Aug 2007 17:26:34 +0000
Subject: Fix boost dependency (#190311). (Portage version: 2.1.2.12)

---
 net-proxy/bfilter/ChangeLog          |  5 ++++-
 net-proxy/bfilter/bfilter-1.1.ebuild | 15 +++++++++++----
 2 files changed, 15 insertions(+), 5 deletions(-)

(limited to 'net-proxy')

diff --git a/net-proxy/bfilter/ChangeLog b/net-proxy/bfilter/ChangeLog
index fa5d8191cce7..913f3ed159fc 100644
--- a/net-proxy/bfilter/ChangeLog
+++ b/net-proxy/bfilter/ChangeLog
@@ -1,6 +1,9 @@
 # ChangeLog for net-proxy/bfilter
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/bfilter/ChangeLog,v 1.15 2007/08/18 13:27:09 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/bfilter/ChangeLog,v 1.16 2007/08/26 17:26:34 mrness Exp $
+
+  26 Aug 2007; Alin Năstac <mrness@gentoo.org> bfilter-1.1.ebuild:
+  Fix boost dependency (#190311).
 
 *bfilter-1.1 (18 Aug 2007)
 
diff --git a/net-proxy/bfilter/bfilter-1.1.ebuild b/net-proxy/bfilter/bfilter-1.1.ebuild
index a79130d13f24..8e90f740752e 100644
--- a/net-proxy/bfilter/bfilter-1.1.ebuild
+++ b/net-proxy/bfilter/bfilter-1.1.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-proxy/bfilter/bfilter-1.1.ebuild,v 1.1 2007/08/18 13:27:09 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/bfilter/bfilter-1.1.ebuild,v 1.2 2007/08/26 17:26:34 mrness Exp $
 
 WANT_AUTOMAKE="1.9"
 
@@ -18,11 +18,18 @@ IUSE="X debug"
 RDEPEND="sys-libs/zlib
 	>=dev-libs/ace-5.4.6
 	=dev-libs/libsigc++-2.0*
-	X? ( >=dev-cpp/gtkmm-2.4 )"
+	X? ( >=dev-cpp/gtkmm-2.4 )
+	dev-libs/boost"
 DEPEND="${RDEPEND}
 	dev-util/scons
-	dev-util/pkgconfig
-	dev-libs/boost"
+	dev-util/pkgconfig"
+
+pkg_setup() {
+	if ! built_with_use --missing true dev-libs/boost threads ; then
+		eerror "${PN} needs dev-libs/boost with threads support."
+		die "Re-compile dev-libs/boost with USE=threads."
+	fi
+}
 
 src_unpack() {
 	unpack ${A}
-- 
cgit v1.2.3-65-gdbad