Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 214491 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-44 / +23 lines)
Line 5 Link Here
5
inherit eutils
5
EAPI="1"
6
--
6
7
inherit autotools eutils
Line 9 Link Here
9
SRC_URI="mirror://berlios/${PN}/${P}-p1.tar.gz"
11
SRC_URI="mirror://berlios/${PN}/${P}.tar.gz"
10
--
Line 14 Link Here
14
IUSE="debug doc event-callback gtk minimal ncurses session test upnp webinterface"
16
IUSE="debug doc event-callback gtk minimal ncurses session test webinterface"
15
--
Line 16 Link Here
16
RDEPEND="dev-libs/boost
18
RDEPEND=">=dev-libs/boost-1.34.1
17
--
Lines 23-26 Link Here
23
	net-libs/rb_libtorrent
25
	>=net-libs/rb_libtorrent-0.13_rc1
24
	gtk? ( >=dev-cpp/gtkmm-2.4
26
	gtk? ( dev-cpp/gtkmm:2.4
25
		x11-libs/pango )
27
		x11-libs/pango
26
	webinterface? ( =dev-lang/php-5* )"
28
		dev-libs/libsigc++:2 )
27
--
29
	webinterface? ( =dev-lang/php-5* virtual/httpd-cgi )"
Lines 31-40 Link Here
31
S="${WORKDIR}/${PN}-${PV/_rc*}"
34
src_unpack() {
32
35
	unpack ${A}
33
pkg_setup() {
36
	cd "${S}"
34
	if ! built_with_use --missing true "dev-libs/boost" threads && \
37
35
		! built_with_use --missing true "dev-libs/boost" threadsonly ; then
38
	epatch \
36
			echo
39
		"${FILESDIR}/${P}-as_needed.patch" \
37
			elog "Compile dev-libs/boost with USE=threads or USE=threadsonly"
40
		"${FILESDIR}/${P}-broken_bundled_plotmm_sigc.patch"
38
			elog "if you want threading support for btg"
41
	AT_M4DIR="m4" eautoreconf
39
			echo
40
	fi
41
--
Lines 44-54 Link Here
44
	local myconf=""
45
46
	if built_with_use --missing true "dev-libs/boost" threads || \
47
		built_with_use --missing true "dev-libs/boost" threadsonly ; then
48
			myconf="--with-boost-iostreams=boost_iostreams-mt \
49
				--with-boost-filesystem=boost_filesystem-mt \
50
				--with-boost-thread=boost_thread-mt \
51
				--with-boost-date-time=boost_date_time-mt \
52
				--with-boost-program_options=boost_program_options-mt"
53
	fi
54
Line 59 Link Here
59
		$(use_enable upnp) \
Line 65 Link Here
65
		${myconf} \
54
		--disable-upnp \
66
--
Line 67 Link Here
67
		|| die
56
		|| die "econf failed"
68
--
Line 69 Link Here
69
	emake || die
58
	emake || die "emake failed"
70
--
Line 73 Link Here
73
	emake DESTDIR="${D}" install || die
62
	emake DESTDIR="${D}" install || die "emake install failed"
74
--

Return to bug 214491