Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 192761
Collapse All | Expand All

(-)ghdl-0.26.ebuild.orig (+10 lines)
Lines 38-43 Link Here
38
	sed -i -e 's/atan2(z.re,z.im)/atan2(z.im,z.re)/' \
38
	sed -i -e 's/atan2(z.re,z.im)/atan2(z.im,z.re)/' \
39
		gcc/vhdl/libraries/ieee/math_complex-body.vhdl || die "sed failed"
39
		gcc/vhdl/libraries/ieee/math_complex-body.vhdl || die "sed failed"
40
40
41
	# GHDL installs library files that check their mtimes. Preserve them.
42
	sed -i -e 's/${INSTALL} -m 644/${INSTALL} -m 644 -p/' \
43
		configure* || die "sed failed"
44
41
	# For multilib profile arch, see bug #203721
45
	# For multilib profile arch, see bug #203721
42
	if (has_multilib_profile || use multilib ) ; then
46
	if (has_multilib_profile || use multilib ) ; then
43
		for T_LINUX64 in `find "${S}/gcc/config" -name t-linux64` ;
47
		for T_LINUX64 in `find "${S}/gcc/config" -name t-linux64` ;
Lines 57-62 Link Here
57
}
61
}
58
62
59
src_install() {
63
src_install() {
64
	# GHDL installs library files that check their mtimes. Preserve them.
65
	insopts -m0644 -p
66
	exeopts -m0755 -p
67
	libopts -m0644 -p
68
	diropts -m0755 -p
69
60
	emake DESTDIR="${D}" install || die "Installation failed"
70
	emake DESTDIR="${D}" install || die "Installation failed"
61
71
62
	cd "${D}"/usr/bin ; rm `ls --ignore=ghdl`
72
	cd "${D}"/usr/bin ; rm `ls --ignore=ghdl`

Return to bug 192761