summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2008-08-12 09:26:19 +0000
committerGeorge Shapovalov <george@gentoo.org>2008-08-12 09:26:19 +0000
commit95164dbe0295420735b210869f65b20ac23bd04e (patch)
tree587d80f3c47af5ba7415d23d49ef0a6ce16bac54 /eclass/gnatbuild.eclass
parentMasking media-fonts/dejavu-2.26 too, for testing. (diff)
downloadgentoo-2-95164dbe0295420735b210869f65b20ac23bd04e.tar.gz
gentoo-2-95164dbe0295420735b210869f65b20ac23bd04e.tar.bz2
gentoo-2-95164dbe0295420735b210869f65b20ac23bd04e.zip
fixed conditional for gnat-gpl, #231534
Diffstat (limited to 'eclass/gnatbuild.eclass')
-rw-r--r--eclass/gnatbuild.eclass7
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/gnatbuild.eclass b/eclass/gnatbuild.eclass
index 02d262c578e0..7648b87a573d 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.40 2008/07/06 13:00:53 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v 1.41 2008/08/12 09:26:19 george Exp $
#
# Author: George Shapovalov <george@gentoo.org>
# Belongs to: ada herd <ada@gentoo.org>
@@ -457,8 +457,9 @@ gnatbuild_src_compile() {
--disable-werror \
--disable-libunwind-exceptions"
- # ACT's gnat-gpl does not line libada for whatever reason..
- if ${PN} == ${PN_GnatGpl}; then
+ # ACT's gnat-gpl does not like libada for whatever reason..
+ if [[ ${PN} == ${PN_GnatGpl} ]]; then
+ einfo "ACT's gnat-gpl does not like libada, disabling"
confgcc="${confgcc} --disable-libada"
else
confgcc="${confgcc} --enable-libada"