summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2007-06-15 19:58:41 +0000
committerGeorge Shapovalov <george@gentoo.org>2007-06-15 19:58:41 +0000
commit2ba74d54e05d6debda12e089e2d73301a4046240 (patch)
treeb466f3bc5ff70b0be188cfe6f6fc2fa1f1bc7ff0 /eclass
parentMask the dell USE-Flag (diff)
downloadgentoo-2-2ba74d54e05d6debda12e089e2d73301a4046240.tar.gz
gentoo-2-2ba74d54e05d6debda12e089e2d73301a4046240.tar.bz2
gentoo-2-2ba74d54e05d6debda12e089e2d73301a4046240.zip
removed some old and ugly cruft
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gnatbuild.eclass31
1 files changed, 3 insertions, 28 deletions
diff --git a/eclass/gnatbuild.eclass b/eclass/gnatbuild.eclass
index 8f453077d801..a796fb37fa68 100644
--- a/eclass/gnatbuild.eclass
+++ b/eclass/gnatbuild.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v 1.30 2007/05/29 17:45:02 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v 1.31 2007/06/15 19:58:41 george Exp $
#
# Author: George Shapovalov <george@gentoo.org>
# Belongs to: ada herd <ada@gentoo.org>
@@ -136,31 +136,6 @@ create_specs_file() {
}
-create_gnat_env_entry() {
- dodir /etc/env.d/gnat
- local gnat_envd_base="/etc/env.d/gnat/${CTARGET}-${PN}-${SLOT}"
-
- gnat_envd_file="${D}${gnat_envd_base}"
-# gnat_specs_file=""
-
- echo "PATH=\"${BINPATH}:${LIBEXECPATH}\"" > ${gnat_envd_file}
- echo "ROOTPATH=\"${BINPATH}:${LIBEXECPATH}\"" >> ${gnat_envd_file}
-
- LDPATH="${LIBPATH}"
- for path in 32 64 o32 ; do
- [[ -d ${LIBPATH}/${path} ]] && LDPATH="${LDPATH}:${LIBPATH}/${path}"
- done
- echo "LDPATH=\"${LDPATH}\"" >> ${gnat_envd_file}
-
- echo "MANPATH=\"${DATAPATH}/man\"" >> ${gnat_envd_file}
- echo "INFOPATH=\"${DATAPATH}/info\"" >> ${gnat_envd_file}
-
- is_crosscompile && echo "CTARGET=${CTARGET}" >> ${gnat_envd_file}
-
- # Set which specs file to use
-# [[ -n ${gnat_specs_file} ]] && echo "GCC_SPECS=\"${gnat_specs_file}\"" >> ${gnat_envd_file}
-}
-
# eselect stuff taken straight from toolchain.eclass and greatly simplified
add_profile_eselect_conf() {
local gnat_config_file=$1
@@ -524,6 +499,7 @@ gnatbuild_src_compile() {
done # while
fi # "all" == "$1"
}
+# -- end gnatbuild_src_compile
gnatbuild_src_install() {
@@ -640,8 +616,6 @@ EOF
;;
prep_env)
- #dodir /etc/env.d/gnat
- #create_gnat_env_entry
# instead of putting junk under /etc/env.d/gnat we recreate env files as
# needed with eselect
create_eselect_conf
@@ -654,3 +628,4 @@ EOF
shift
done # while
}
+# -- end gnatbuild_src_install