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

Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +14 lines)
Line  Link Here
0
-- unrar-3.9.9.ebuild
0
++ unrar-3.9.9.ebuild
Lines 18-32 Link Here
18
18
19
S=${WORKDIR}/unrar
19
S=${WORKDIR}/unrar
20
20
21
src_unpack() {
22
	unpack ${A}
23
	cd "${S}"
24
	sed -i \
25
		-e 's:$(LINK) -shared:$(LINK) -shared -Wl,-soname:' \
26
		makefile.unix || die
27
}
28
21
src_compile() {
29
src_compile() {
22
	emake \
30
	emake \
23
		-f makefile.unix \
31
		-f makefile.unix \
32
		CPPFLAGS="-fPIC" \
24
		CXXFLAGS="${CXXFLAGS}" \
33
		CXXFLAGS="${CXXFLAGS}" \
25
		CXX="$(tc-getCXX)" \
34
		CXX="$(tc-getCXX)" \
26
		STRIP="true" || die "emake failed"
35
		STRIP="true" all lib || die
27
}
36
}
28
37
29
src_install() {
38
src_install() {
30
	dobin unrar || die
39
	dobin unrar || die
40
	dolib.so libunrar.so || die
41
	insinto /usr/include/libunrar3
42
	doins dll.hpp || die
31
	dodoc readme.txt
43
	dodoc readme.txt
32
}
44
}

Return to bug 177402