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
commit708cf86b9477f16ff3f7f5b3261e8822957f064c (patch)
tree3246f7d6352e49be463fd2e33d08e0bfded8e48a /eclass
parentstable amd64 (diff)
downloadhistorical-708cf86b9477f16ff3f7f5b3261e8822957f064c.tar.gz
historical-708cf86b9477f16ff3f7f5b3261e8822957f064c.tar.bz2
historical-708cf86b9477f16ff3f7f5b3261e8822957f064c.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