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

Collapse All | Expand All

(-)file_not_specified_in_diff (-4 / +8 lines)
Line  Link Here
0
-- a/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r3.ebuild
0
++ b/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r3.ebuild
Lines 5-13 Link Here
5
# we only want this for binary-only packages, so we will only be installing
5
# we only want this for binary-only packages, so we will only be installing
6
# the lib used at runtime; no headers and no files to link against
6
# the lib used at runtime; no headers and no files to link against
7
7
8
EAPI="4"
8
EAPI="5"
9
9
10
inherit eutils multilib toolchain-funcs
10
inherit eutils multilib toolchain-funcs multilib-minimal
11
11
12
PATCHVER="2"
12
PATCHVER="2"
13
13
Lines 33-48 src_prepare() { Link Here
33
	cd "${WORKDIR}"
33
	cd "${WORKDIR}"
34
	mv termtypes.tc termcap || die
34
	mv termtypes.tc termcap || die
35
	epatch "${EPATCH_SOURCE}"/tc.file
35
	epatch "${EPATCH_SOURCE}"/tc.file
36
37
	multilib_copy_sources
36
}
38
}
37
39
38
src_configure() {
40
src_configure() {
39
	tc-export CC
41
	tc-export CC
40
}
42
}
41
43
42
src_install() {
44
multilib_src_install() {
43
	dolib.so libtermcap.so.${PV}
45
	dolib.so libtermcap.so.${PV}
44
	dosym libtermcap.so.${PV} /usr/$(get_libdir)/libtermcap.so.2
46
	dosym libtermcap.so.${PV} /usr/$(get_libdir)/libtermcap.so.2
47
}
45
48
49
multilib_src_install_all() {
46
	insinto /etc
50
	insinto /etc
47
	doins "${WORKDIR}"/termcap
51
	doins "${WORKDIR}"/termcap
48
52

Return to bug 551360