summaryrefslogtreecommitdiff
blob: 204de4da7374f30a718f2969a6ffe17807a81fb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
alias make=gmake
alias patch=gpatch
alias sed=gsed
alias awk=gawk

# Hack to avoid every package that uses libiconv/gettext
# install a charset.alias that will collide with libiconv's one
# See bugs 169678, 195148 and 256129.
# Also the discussion on
# http://archives.gentoo.org/gentoo-dev/msg_8cb1805411f37b4eb168a3e680e531f3.xml
post_src_install()
{
	if [ "${PN}" != "libiconv" -a -e "${D}"/usr/lib*/charset.alias ] ; then
		rm -f "${D}"/usr/lib*/charset.alias
	fi
}