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

Collapse All | Expand All

(-)/usr/portage/net-p2p/mldonkey/mldonkey-3.1.0.ebuild (-2 / +8 lines)
Lines 7-13 Link Here
7
7
8
inherit flag-o-matic eutils autotools toolchain-funcs
8
inherit flag-o-matic eutils autotools toolchain-funcs
9
9
10
IUSE="bittorrent doc fasttrack gd gnutella gtk guionly magic +ocamlopt"
10
IUSE="bittorrent doc fasttrack gd gnutella gtk guionly magic +ocamlopt upnp"
11
11
12
DESCRIPTION="MLDonkey is a multi-network P2P application written in Ocaml, coming with its own Gtk GUI, web and telnet interface."
12
DESCRIPTION="MLDonkey is a multi-network P2P application written in Ocaml, coming with its own Gtk GUI, web and telnet interface."
13
HOMEPAGE="http://mldonkey.sourceforge.net/"
13
HOMEPAGE="http://mldonkey.sourceforge.net/"
Lines 23-29 Link Here
23
	gtk? ( >=gnome-base/librsvg-2.4.0
23
	gtk? ( >=gnome-base/librsvg-2.4.0
24
			>=dev-ml/lablgtk-2.6[svg] )
24
			>=dev-ml/lablgtk-2.6[svg] )
25
	gd? ( >=media-libs/gd-2.0.28[truetype] )
25
	gd? ( >=media-libs/gd-2.0.28[truetype] )
26
	magic? ( sys-apps/file )"
26
	magic? ( sys-apps/file )
27
	upnp? ( >=net-libs/miniupnpc-1.5
28
			>=net-libs/libnatpmp-20110808-r1 )"
27
29
28
DEPEND="${RDEPEND}
30
DEPEND="${RDEPEND}
29
	>=dev-lang/ocaml-3.10.2[ocamlopt?]"
31
	>=dev-lang/ocaml-3.10.2[ocamlopt?]"
Lines 53-58 Link Here
53
}
55
}
54
56
55
src_prepare() {
57
src_prepare() {
58
	epatch "${FILESDIR}/${P}-initnatpmp.patch"
59
	epatch "${FILESDIR}/${P}-miniupnpd-1.6.patch"
60
56
	cd "${S}"/config
61
	cd "${S}"/config
57
	eautoconf
62
	eautoconf
58
	cd "${S}"
63
	cd "${S}"
Lines 87-92 Link Here
87
		$(use_enable gnutella gnutella2) \
92
		$(use_enable gnutella gnutella2) \
88
		$(use_enable gd) \
93
		$(use_enable gd) \
89
		$(use_enable magic) \
94
		$(use_enable magic) \
95
		$(use_enable upnp upnp-natpmp) \
90
		${myconf}
96
		${myconf}
91
}
97
}
92
98

Return to bug 408277