/[gentoo-x86]/profiles/prefix/profile.bashrc
Gentoo

Contents of /profiles/prefix/profile.bashrc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Nov 10 09:46:11 2012 UTC (20 months ago) by grobian
Branch: MAIN
Changes since 1.4: +1 -10 lines
Cleanup old comments, and add part 1 of Solaris gen_usr_ldscript fixup

1 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
2 # $Header: $
3
4 # Hack to avoid every package that uses libiconv/gettext
5 # install a charset.alias that will collide with libiconv's one
6 # See bugs 169678, 195148 and 256129.
7 # Also the discussion on
8 # http://archives.gentoo.org/gentoo-dev/msg_8cb1805411f37b4eb168a3e680e531f3.xml
9 prefix-post_src_install() {
10 local f
11 if [[ ${PN} != "libiconv" && -n $(ls "${ED}"/usr/lib*/charset.alias 2>/dev/null) ]]; then
12 einfo "automatically removing charset.alias"
13 rm -f "${ED}"/usr/lib*/charset.alias
14 fi
15 }
16
17 # These are because of
18 # http://archives.gentoo.org/gentoo-dev/msg_529a0806ed2cf841a467940a57e2d588.xml
19 # The profile-* ones are meant to be used in etc/portage/profile.bashrc by user
20 # until there is the registration mechanism.
21 profile-post_src_install() { prefix-post_src_install ; }
22 post_src_install() { prefix-post_src_install ; }

  ViewVC Help
Powered by ViewVC 1.1.20