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
commitffdbab6e68b51eb29511ed2e76e4241676ced1b6 (patch)
tree654a68040cb6a13ca53f7f491e21f3148e5601c3 /eclass/gnatbuild.eclass
parentMasking media-fonts/dejavu-2.26 too, for testing. (diff)
downloadhistorical-ffdbab6e68b51eb29511ed2e76e4241676ced1b6.tar.gz
historical-ffdbab6e68b51eb29511ed2e76e4241676ced1b6.tar.bz2
historical-ffdbab6e68b51eb29511ed2e76e4241676ced1b6.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"