summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-10-14 22:54:35 +0000
committerMike Frysinger <vapier@gentoo.org>2011-10-14 22:54:35 +0000
commitb6e21f9a1b9565220c8c826e4e2ed782152c2083 (patch)
tree0c6228766181792d8ad5f9ff4f7be06080986f19 /eclass
parentMove DEPEND to RDEPEND and update DESCRIPTION. (diff)
downloadgentoo-2-b6e21f9a1b9565220c8c826e4e2ed782152c2083.tar.gz
gentoo-2-b6e21f9a1b9565220c8c826e4e2ed782152c2083.tar.bz2
gentoo-2-b6e21f9a1b9565220c8c826e4e2ed782152c2083.zip
delete unused functions
Diffstat (limited to 'eclass')
-rw-r--r--eclass/multilib.eclass40
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: