summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2011-09-12 13:50:57 +0000
committerMichał Górny <mgorny@gentoo.org>2011-09-12 13:50:57 +0000
commit6df816868acd50253428d8a190c978f4954cfa4f (patch)
tree28e68bbac87d278af2b4828452c89cb12320e5ec /eclass/xorg-2.eclass
parentUpdate DOWNLOAD_PAGE to point on oracle site, bug #380365 thank 'philipplewe ... (diff)
downloadgentoo-2-6df816868acd50253428d8a190c978f4954cfa4f.tar.gz
gentoo-2-6df816868acd50253428d8a190c978f4954cfa4f.tar.bz2
gentoo-2-6df816868acd50253428d8a190c978f4954cfa4f.zip
ewarn -> eqawarn to not stress users with our mistakes.
Diffstat (limited to 'eclass/xorg-2.eclass')
-rw-r--r--eclass/xorg-2.eclass9
1 files changed, 6 insertions, 3 deletions
diff --git a/eclass/xorg-2.eclass b/eclass/xorg-2.eclass
index c36e85f62e28..98882c4af8a3 100644
--- a/eclass/xorg-2.eclass
+++ b/eclass/xorg-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.47 2011/08/22 04:46:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.48 2011/09/12 13:50:57 mgorny Exp $
# @ECLASS: xorg-2.eclass
# @MAINTAINER:
@@ -410,8 +410,11 @@ xorg-2_src_configure() {
# @DEFAULT_UNSET
if [[ $(declare -p XORG_CONFIGURE_OPTIONS 2>&-) != "declare -a"* ]]; then
# fallback to CONFIGURE_OPTIONS, deprecated.
- [[ -n "${CONFIGURE_OPTIONS}" ]] && \
- ewarn "QA: CONFIGURE_OPTIONS are deprecated. Please migrate to XORG_CONFIGURE_OPTIONS to preserve namespace."
+ if [[ -n "${CONFIGURE_OPTIONS}" ]]; then
+ eqawarn "CONFIGURE_OPTIONS are deprecated. Please migrate to XORG_CONFIGURE_OPTIONS"
+ eqawarn "to preserve namespace."
+ fi
+
local xorgconfadd=(${CONFIGURE_OPTIONS})
else
local xorgconfadd=("${XORG_CONFIGURE_OPTIONS[@]}")