elif [ "${LIBDIR_TEST/CONF_LIBDIR}" == "${LIBDIR_TEST}" ]; then # we don't have CONF_LIBDIR support

76

# will be <portage-2.0.51_pre20

77

CONF_LIBDIR="lib"

78

fi

79

# and of course, default to lib if CONF_LIBDIR isnt set

80

echo ${CONF_LIBDIR:=lib}

81

unset LIBDIR_TEST

82

}

83

84

get_multilibdir() {

85

[ -n "$(get_abi_LIBDIR)" ] && die "get_multilibdir called, but it shouldn't be needed with the new multilib approach. Please file a bug at http://bugs.gentoo.org and assign it to eradicator@gentoo.org"

86

echo ${CONF_MULTILIBDIR:=lib32}

87

}

88

89

# Sometimes you need to override the value returned by get_libdir. A good

90

# example of this is xorg-x11, where lib32 isnt a supported configuration,

91

# and where lib64 -must- be used on amd64 (for applications that need lib

92

# to be 32bit, such as adobe acrobat). Note that this override also bypasses

93

# portage version sanity checking.

94

# get_libdir_override expects one argument, the result get_libdir should

95

# return:

96

#

97

# get_libdir_override lib64

98

#

99

# Travis Tilley <lv@gentoo.org> (31 Aug 2004)

100

get_libdir_override() {

101

[ -n "$(get_abi_LIBDIR)" ] && die "get_libdir_override called, but it shouldn't be needed with the new multilib approach. Please file a bug at http://bugs.gentoo.org and assign it to eradicator@gentoo.org"