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
commit7cca6eb102d62faef9f2b897f90efca0f7c3b558 (patch)
treeb88786d35a44e688aa4e629fab7875ce600e7375 /eclass/gnatbuild.eclass
parentStable on alpha wrt security Bug #145829. (diff)
downloadhistorical-7cca6eb102d62faef9f2b897f90efca0f7c3b558.tar.gz
historical-7cca6eb102d62faef9f2b897f90efca0f7c3b558.tar.bz2
historical-7cca6eb102d62faef9f2b897f90efca0f7c3b558.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..