summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2006-10-24 11:00:50 +0000
committerGeorge Shapovalov <george@gentoo.org>2006-10-24 11:00:50 +0000
commitc95804f6e2f5c4bd891620a9c2c11cfda9a71181 (patch)
tree216cfb304ced0c74bcc69f8ee944a2efde702fa2 /eclass/gnatbuild.eclass
parentStable on alpha wrt security Bug #145829. (diff)
downloadgentoo-2-c95804f6e2f5c4bd891620a9c2c11cfda9a71181.tar.gz
gentoo-2-c95804f6e2f5c4bd891620a9c2c11cfda9a71181.tar.bz2
gentoo-2-c95804f6e2f5c4bd891620a9c2c11cfda9a71181.zip
preparing eclass for split asis implementations
Diffstat (limited to 'eclass/gnatbuild.eclass')
-rw-r--r--eclass/gnatbuild.eclass12
1 files changed, 4 insertions, 8 deletions
diff --git a/eclass/gnatbuild.eclass b/eclass/gnatbuild.eclass
index 3a865e334320..bcaaf9baa23c 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.19 2006/10/14 20:27:21 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v 1.20 2006/10/24 11:00:50 george Exp $
#
# Author: George Shapovalov <george@gentoo.org>
# Belongs to: ada herd <ada@gentoo.org>
@@ -56,7 +56,9 @@ PN_GnatPro="gnat-pro"
# so set it here for what we can..
if [[ ${PN} == "${PN_GnatGCC}" ]] || \
[[ ${PN} == "${PN_GnatGpl}" ]] || \
- [[ ${PN} == "asis" ]];
+ [[ ${PN} == "asis" ]] || \
+ [[ ${PN} == "asis-gcc" ]] || \
+ [[ ${PN} == "asis-gpl" ]];
then
GCCVER="${GNATRELEASE}"
elif [[ ${PN} == "${PN_GnatPro}" ]] ; then
@@ -91,12 +93,6 @@ is_crosscompile() {
# profiles, so mostly watch out for the right SLOT used in the bootstrap.
BOOT_TARGET=${CTARGET}
BOOT_SLOT=${SLOT}
-# optional packages
-if [[ ${PN} == "${PN_GnatGpl}" ]] ; then
- ASIS_SRC="${WORKDIR}/asis-${ACT_Ver}-src"
-else
- ASIS_SRC="none"
-fi
# set our install locations
PREFIX=${GNATBUILD_PREFIX:-/usr} # not sure we need this hook, but may be..