summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/eutils.eclass4
-rw-r--r--eclass/games.eclass9
2 files changed, 5 insertions, 8 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index cac8d503127b..46fcf6492b37 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.152 2005/02/18 18:04:42 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.153 2005/02/18 21:55:35 azarah Exp $
#
# Author: Martin Schlemmer <azarah@gentoo.org>
#
@@ -461,8 +461,6 @@ have_NPTL() {
get_number_of_jobs() {
local jobs=0
- return 0
-
if [ ! -r /proc/cpuinfo ]
then
return 1
diff --git a/eclass/games.eclass b/eclass/games.eclass
index 70bcdccdb917..afe5cd38dd8c 100644
--- a/eclass/games.eclass
+++ b/eclass/games.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.88 2005/02/18 18:04:42 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.89 2005/02/18 21:55:35 azarah Exp $
#
# devlist: {vapier,wolf31o2,mr_bones_}@gentoo.org -> games@gentoo.org
#
@@ -52,10 +52,9 @@ egamesconf() {
--host=${CHOST} \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --datadir=${GAMES_DATADIR} \
- --sysconfdir=${GAMES_SYSCONFDIR} \
- --localstatedir=${GAMES_STATEDIR} \
- --with-data-dir=${GAMES_DATADIR}/${PN} \
+ --datadir="${GAMES_DATADIR}" \
+ --sysconfdir="${GAMES_SYSCONFDIR}" \
+ --localstatedir="${GAMES_STATEDIR}" \
${EXTRA_ECONF} \
"$@" || die "egamesconf failed"
else