summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2008-03-06 04:42:26 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2008-03-06 04:42:26 +0000
commitddb8f96e6b71b8b52ca87b8a6f86fb8a6c8e3172 (patch)
tree76d94cab75c1f5dd07cb0bcae5861451823fb2fc /eclass
parentFixing quoting. (diff)
downloadgentoo-2-ddb8f96e6b71b8b52ca87b8a6f86fb8a6c8e3172.tar.gz
gentoo-2-ddb8f96e6b71b8b52ca87b8a6f86fb8a6c8e3172.tar.bz2
gentoo-2-ddb8f96e6b71b8b52ca87b8a6f86fb8a6c8e3172.zip
Make sure that packages needing eautoreconf run get it run. This fixes a bug accidentally introduced when setting default values so this eclass could be documented properly.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/x-modular.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/x-modular.eclass b/eclass/x-modular.eclass
index ae2c528f229f..70daf5b024de 100644
--- a/eclass/x-modular.eclass
+++ b/eclass/x-modular.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/x-modular.eclass,v 1.92 2008/02/22 05:10:03 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.93 2008/03/06 04:42:26 dberkholz Exp $
#
# @ECLASS: x-modular.eclass
# @MAINTAINER:
@@ -40,11 +40,13 @@ fi
IUSE=""
HOMEPAGE="http://xorg.freedesktop.org/"
+if [[ -z ${SNAPSHOT} ]]; then
# @ECLASS-VARIABLE: SNAPSHOT
# @DESCRIPTION:
# If set to 'yes' and configure.ac exists, eautoreconf will run. Set
# before inheriting this eclass.
-SNAPSHOT="no"
+ SNAPSHOT="no"
+fi
if [[ ${PV} = 9999* ]]; then
GIT_ECLASS="git"