blob: 340a86df51c3f8422a3393ea54bb41855791eec4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# The version of profile in our 'packages' does not yet set ABI for us nor
# export the CFLAGS_${ABI} envvars...
if [[ -n "${ABI}" ]]; then
export ABI
elif [[ -n "${DEFAULT_ABI}" ]]; then
export ABI="${DEFAULT_ABI}"
else
export ABI="amd64"
fi
export CFLAGS_amd64
export CFLAGS_x86
# Make sure they updated to 2005.0 properly
if [[ (-L /lib32 || -L /usr/lib32 ) && ( ${PORTAGE_CALLER} != "repoman" ) ]] ; then
eerror "It appears you have switched to the 2005.0 profile without following"
eerror "the upgrade guide. Please see the following URL for more information:"
eerror "http://www.gentoo.org/proj/en/base/amd64/2005.0-upgrade-amd64.xml"
exit 1
fi
|