summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2012-04-23 07:16:34 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2012-04-23 07:16:34 +0000
commitf69d38756e1db0f5fd67587e857b446c362f7b02 (patch)
treeb83956db3dd156c912fed38d55e0d9efba2bf41a
parentfixes directories in configure options for Prefix. closes bug #412005 (diff)
downloadgentoo-2-f69d38756e1db0f5fd67587e857b446c362f7b02.tar.gz
gentoo-2-f69d38756e1db0f5fd67587e857b446c362f7b02.tar.bz2
gentoo-2-f69d38756e1db0f5fd67587e857b446c362f7b02.zip
ggz-client-libs doesn't know about noregistry
-rw-r--r--eclass/games-ggz.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/games-ggz.eclass b/eclass/games-ggz.eclass
index 07432dc7386a..e9465073721c 100644
--- a/eclass/games-ggz.eclass
+++ b/eclass/games-ggz.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/games-ggz.eclass,v 1.7 2011/08/04 19:31:38 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games-ggz.eclass,v 1.8 2012/04/23 07:16:34 mr_bones_ Exp $
inherit base
@@ -20,9 +20,11 @@ SRC_URI="mirror://ggz/${PV}/${P}.tar.gz"
GGZ_MODDIR="/usr/share/ggz/modules"
games-ggz_src_configure() {
+ local reg="--enable-noregistry=\"${GGZ_MODDIR}\""
+ [[ ${PN} == ggz-client-libs ]] && reg=''
econf \
--disable-dependency-tracking \
- --enable-noregistry="${GGZ_MODDIR}" \
+ $reg \
$(has debug ${IUSE} && ! use debug && echo --disable-debug) \
"$@"
}