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

Collapse All | Expand All

(-)a/app-arch/bzip2/bzip2-1.0.8-r1.ebuild (-8 / +8 lines)
Lines 6-12 Link Here
6
6
7
EAPI=7
7
EAPI=7
8
8
9
inherit toolchain-funcs multilib-minimal usr-ldscript
9
inherit multilib multilib-minimal usr-ldscript
10
10
11
DESCRIPTION="A high-quality data compressor used extensively by Gentoo Linux"
11
DESCRIPTION="A high-quality data compressor used extensively by Gentoo Linux"
12
HOMEPAGE="https://sourceware.org/bzip2/"
12
HOMEPAGE="https://sourceware.org/bzip2/"
Lines 66-75 multilib_src_install() { Link Here
66
	#  .x.x.x - standard shared lib behavior
66
	#  .x.x.x - standard shared lib behavior
67
	#  .x.x   - SONAME some distros use #338321
67
	#  .x.x   - SONAME some distros use #338321
68
	#  .x     - SONAME Gentoo uses
68
	#  .x     - SONAME Gentoo uses
69
	dolib.so libbz2.so.${PV}
69
	newlib.so libbz2.so.${PV} libbz2$(get_libname ${PV})
70
	local v
70
	local v
71
	for v in libbz2.so{,.{${PV%%.*},${PV%.*}}} ; do
71
	for v in libbz2$(get_libname){,.{${PV%%.*},${PV%.*}}} ; do
72
		dosym libbz2.so.${PV} /usr/$(get_libdir)/${v}
72
		dosym libbz2$(get_libname ${PV}) /usr/$(get_libdir)/${v}
73
	done
73
	done
74
74
75
	# Install libbz2.so.1.0 due to accidental soname change in 1.0.7.
75
	# Install libbz2.so.1.0 due to accidental soname change in 1.0.7.
Lines 84-92 multilib_src_install() { Link Here
84
	if multilib_is_native_abi ; then
84
	if multilib_is_native_abi ; then
85
		gen_usr_ldscript -a bz2
85
		gen_usr_ldscript -a bz2
86
86
87
		dobin bzip2recover
87
		dobin bzip2recover$(get_exeext)
88
		into /
88
		into /
89
		dobin bzip2
89
		dobin bzip2$(get_exeext)
90
	fi
90
	fi
91
}
91
}
92
92
Lines 117-122 multilib_src_install_all() { Link Here
117
	einstalldocs
117
	einstalldocs
118
118
119
	# move "important" bzip2 binaries to /bin and use the shared libbz2.so
119
	# move "important" bzip2 binaries to /bin and use the shared libbz2.so
120
	dosym bzip2 /bin/bzcat
120
	dosym bzip2$(get_exeext) /bin/bzcat$(get_exeext)
121
	dosym bzip2 /bin/bunzip2
121
	dosym bzip2$(get_exeext) /bin/bunzip2$(get_exeext)
122
}
122
}

Return to bug 680220