summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-08-06 20:20:14 +0000
committerMike Frysinger <vapier@gentoo.org>2006-08-06 20:20:14 +0000
commite318fcd29cd23bdaec40b2febd39a43bd1179ee3 (patch)
treef303ed98011e6df1bafcbcd59cb5da90e3bb3a1d /eclass
parentstable amd64 (diff)
downloadgentoo-2-e318fcd29cd23bdaec40b2febd39a43bd1179ee3.tar.gz
gentoo-2-e318fcd29cd23bdaec40b2febd39a43bd1179ee3.tar.bz2
gentoo-2-e318fcd29cd23bdaec40b2febd39a43bd1179ee3.zip
if unable to find USE file for pkg, have built_with_use die
Diffstat (limited to 'eclass')
-rw-r--r--eclass/eutils.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index 803c5d11e14d..c3fc75361622 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.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/eutils.eclass,v 1.245 2006/07/15 19:26:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.246 2006/08/06 20:20:14 vapier Exp $
#
# This eclass is for general purpose functions that most ebuilds
# have to implement themselves.
@@ -1589,7 +1589,7 @@ built_with_use() {
# if the USE file doesnt exist, assume the $PKG is either
# injected or package.provided
- [[ ! -e ${USEFILE} ]] && return 0
+ [[ ! -e ${USEFILE} ]] && die "Unable to determine what USE flags $PKG was built with"
local USE_BUILT=$(<${USEFILE})
while [[ $# -gt 0 ]] ; do