From: | "Javier Villavicencio (the_paya)" <the_paya@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in profiles/default/bsd/fbsd: profile.bashrc |
Date: | Sat, 24 Jan 2009 21:58:22 |
Message-Id: | E1LQqWA-00064R-R4@stork.gentoo.org |
1 | the_paya 09/01/24 21:58:18 |
2 | |
3 | Modified: profile.bashrc |
4 | Log: |
5 | Fix for the charset.alias collisions, bugs 169678, 195148 and 256129 |
6 | |
7 | Revision Changes Path |
8 | 1.2 profiles/default/bsd/fbsd/profile.bashrc |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc?rev=1.2&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc?rev=1.2&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc?r1=1.1&r2=1.2 |
13 | |
14 | Index: profile.bashrc |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc,v |
17 | retrieving revision 1.1 |
18 | retrieving revision 1.2 |
19 | diff -u -r1.1 -r1.2 |
20 | --- profile.bashrc 24 Jan 2009 08:10:24 -0000 1.1 |
21 | +++ profile.bashrc 24 Jan 2009 21:58:18 -0000 1.2 |
22 | @@ -1,4 +1,20 @@ |
23 | +#!/bin/bash |
24 | +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
25 | +# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc,v 1.2 2009/01/24 21:58:18 the_paya Exp $ |
26 | + |
27 | alias make=gmake |
28 | alias patch=gpatch |
29 | alias sed=gsed |
30 | alias awk=gawk |
31 | + |
32 | +# Hack to avoid every package that uses libiconv/gettext |
33 | +# install a charset.alias that will collide with libiconv's one |
34 | +# See bugs 169678, 195148 and 256129. |
35 | +# Also the discussion on |
36 | +# http://archives.gentoo.org/gentoo-dev/msg_8cb1805411f37b4eb168a3e680e531f3.xml |
37 | +post_src_install() |
38 | +{ |
39 | + if [[ "${PN}" != "libiconv" && -e "${D}"/usr/lib/charset.alias ]] ; then |
40 | + rm -f "${D}"/usr/lib/charset.alias |
41 | + fi |
42 | +} |