From: Mike Frysinger Date: Fri, 14 Oct 2011 22:54:35 +0000 (+0000) Subject: delete unused functions X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=981cbb98485ecec947fe09038a5e2f966828545f;p=gentoo.git delete unused functions --- 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: [ABI] # @RETURN: returns the value of ${_} 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: