summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-08-22 19:39:52 +0000
committerMike Frysinger <vapier@gentoo.org>2011-08-22 19:39:52 +0000
commit103f193ed7a4ca259b2aa35badeab0cb921319e7 (patch)
tree04467696be9580b616b2c19abe2607d846567017 /eclass
parentClarify a comment. (diff)
downloadhistorical-103f193ed7a4ca259b2aa35badeab0cb921319e7.tar.gz
historical-103f193ed7a4ca259b2aa35badeab0cb921319e7.tar.bz2
historical-103f193ed7a4ca259b2aa35badeab0cb921319e7.zip
use `die` rather than invalid depend atoms since council ok-ed it some time ago
Diffstat (limited to 'eclass')
-rw-r--r--eclass/autotools.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index bc8c20d61ec9..ab67d5c66e79 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.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/autotools.eclass,v 1.105 2011/08/22 18:22:27 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.106 2011/08/22 19:39:52 vapier Exp $
# @ECLASS: autotools.eclass
# @MAINTAINER:
@@ -58,7 +58,7 @@ if [[ -n ${WANT_AUTOCONF} ]] ; then
2.1) _autoconf_atom="=sys-devel/autoconf-${WANT_AUTOCONF}*" ;;
# if you change the “latest” version here, change also autotools_run_tool
latest|2.5) _autoconf_atom=">=sys-devel/autoconf-2.61" ;;
- *) _autoconf_atom="INCORRECT-WANT_AUTOCONF-SETTING-IN-EBUILD" ;;
+ *) die "Invalid WANT_AUTOCONF value '${WANT_AUTOCONF}'" ;;
esac
export WANT_AUTOCONF
fi
@@ -68,7 +68,7 @@ if [[ -n ${WANT_LIBTOOL} ]] ; then
case ${WANT_LIBTOOL} in
none) _libtool_atom="" ;;
latest) ;;
- *) _libtool_atom="INCORRECT-WANT_LIBTOOL-SETTING-IN-EBUILD" ;;
+ *) die "Invalid WANT_LIBTOOL value '${WANT_LIBTOOL}'" ;;
esac
export WANT_LIBTOOL
fi