summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2009-03-11 14:41:48 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2009-03-11 14:41:48 +0000
commit5013863f3e9f9ad8a83f292c25033b865a93858f (patch)
treef5b2a4cd46fc8ece25e22ad332d52f40333da460 /profiles/default
parentbump, get rid of timestamp hack, move to EAPI=2 for use dep (diff)
downloadhistorical-5013863f3e9f9ad8a83f292c25033b865a93858f.tar.gz
historical-5013863f3e9f9ad8a83f292c25033b865a93858f.tar.bz2
historical-5013863f3e9f9ad8a83f292c25033b865a93858f.zip
Delete /usr/lib*/charset.alias instead of /usr/lib/charset.alias.
It is needed to make multilib work
Diffstat (limited to 'profiles/default')
-rw-r--r--profiles/default/bsd/fbsd/profile.bashrc7
1 files changed, 4 insertions, 3 deletions
diff --git a/profiles/default/bsd/fbsd/profile.bashrc b/profiles/default/bsd/fbsd/profile.bashrc
index 01688c8397bd..ff33575b7f2e 100644
--- a/profiles/default/bsd/fbsd/profile.bashrc
+++ b/profiles/default/bsd/fbsd/profile.bashrc
@@ -1,6 +1,6 @@
#!/bin/bash
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc,v 1.2 2009/01/24 21:58:18 the_paya Exp $
+# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc,v 1.3 2009/03/11 14:41:48 drizzt Exp $
alias make=gmake
alias patch=gpatch
@@ -14,7 +14,8 @@ alias awk=gawk
# http://archives.gentoo.org/gentoo-dev/msg_8cb1805411f37b4eb168a3e680e531f3.xml
post_src_install()
{
- if [[ "${PN}" != "libiconv" && -e "${D}"/usr/lib/charset.alias ]] ; then
- rm -f "${D}"/usr/lib/charset.alias
+ echo cucu
+ if [ "${PN}" != "libiconv" -a -e "${D}"/usr/lib*/charset.alias ] ; then
+ rm -f "${D}"/usr/lib*/charset.alias
fi
}