diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-10-14 22:54:35 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-10-14 22:54:35 +0000 |
commit | 981cbb98485ecec947fe09038a5e2f966828545f (patch) | |
tree | ef0e81047ace46b48c90c3e593f74adf7b0c5448 /eclass/multilib.eclass | |
parent | Move DEPEND to RDEPEND and update DESCRIPTION. (diff) | |
download | historical-981cbb98485ecec947fe09038a5e2f966828545f.tar.gz historical-981cbb98485ecec947fe09038a5e2f966828545f.tar.bz2 historical-981cbb98485ecec947fe09038a5e2f966828545f.zip |
delete unused functions
Diffstat (limited to 'eclass/multilib.eclass')
-rw-r--r-- | eclass/multilib.eclass | 40 |
1 files changed, 2 insertions, 38 deletions
diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass index a7031cc1eed1..656a36fc69d1 100644 --- a/eclass/multilib.eclass +++ b/eclass/multilib.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.92 2011/08/18 14:58:57 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.93 2011/10/14 22:54:35 vapier Exp $ # @ECLASS: multilib.eclass # @MAINTAINER: @@ -57,40 +57,10 @@ get_libdir() { fi } -# @FUNCTION: get_multilibdir -# @RETURN: Returns the multilibdir -get_multilibdir() { - if has_multilib_profile; then - eerror "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" - exit 1 - fi - echo ${CONF_MULTILIBDIR:=lib32} -} - -# @FUNCTION: get_libdir_override -# @DESCRIPTION: -# Sometimes you need to override the value returned by get_libdir. A good -# example of this is xorg-x11, where lib32 isnt a supported configuration, -# and where lib64 -must- be used on amd64 (for applications that need lib -# to be 32bit, such as adobe acrobat). Note that this override also bypasses -# portage version sanity checking. -# get_libdir_override expects one argument, the result get_libdir should -# return: -# -# get_libdir_override lib64 -get_libdir_override() { - if has_multilib_profile; then - eerror "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" - exit 1 - fi - CONF_LIBDIR="$1" - CONF_LIBDIR_OVERRIDE="$1" - LIBDIR_default="$1" -} - # @FUNCTION: get_abi_var # @USAGE: <VAR> [ABI] # @RETURN: returns the value of ${<VAR>_<ABI>} which should be set in make.defaults +# @INTERNAL # @DESCRIPTION: # ex: # CFLAGS=$(get_abi_var CFLAGS sparc32) # CFLAGS=-m32 @@ -124,12 +94,6 @@ get_abi_var() { # Alias for 'get_abi_var CFLAGS' get_abi_CFLAGS() { get_abi_var CFLAGS "$@"; } -# @FUNCTION: get_abi_ASFLAGS -# @USAGE: [ABI] -# @DESCRIPTION: -# Alias for 'get_abi_var ASFLAGS' -get_abi_ASFLAGS() { get_abi_var ASFLAGS "$@"; } - # @FUNCTION: get_abi_LDFLAGS # @USAGE: [ABI] # @DESCRIPTION: |