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

Collapse All | Expand All

(-)/usr/portage/dev-libs/leveldb/leveldb-1.15.0.ebuild (-1 / +8 lines)
Lines 22-27 Link Here
22
	)"
22
	)"
23
RDEPEND="${DEPEND}"
23
RDEPEND="${DEPEND}"
24
24
25
src_prepare() {
26
	cp "${FILESDIR}/${PN}-1.9.0-memenv-so.patch" "${S}/patch"
27
	sed -i 's/\(^ SHARED_MINOR =\).*/\1 15/' "${S}/patch"
28
	epatch "${S}/patch"
29
}
30
25
src_configure() {
31
src_configure() {
26
	# These vars all get picked up by build_detect_platform
32
	# These vars all get picked up by build_detect_platform
27
	# which the Makefile runs for us automatically.
33
	# which the Makefile runs for us automatically.
Lines 37-43 Link Here
37
}
43
}
38
44
39
src_compile() {
45
src_compile() {
40
	emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a
46
	emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a libmemenv.SHARED
41
}
47
}
42
48
43
src_test() {
49
src_test() {
Lines 50-53 Link Here
50
	dolib.so libleveldb*$(get_libname)*
56
	dolib.so libleveldb*$(get_libname)*
51
	use static-libs && dolib.a libleveldb.a
57
	use static-libs && dolib.a libleveldb.a
52
	dolib.a libmemenv.a
58
	dolib.a libmemenv.a
59
	dolib.so libmemenv*$(get_libname)*
53
}
60
}

Return to bug 505320