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
commit4dc1bb4ce3fa0410355757b5dd1a887491eb108c (patch)
tree034b24761400cabc4896de1400f95eaa8ce1dd27 /eclass
parentFixing quoting. (diff)
downloadhistorical-4dc1bb4ce3fa0410355757b5dd1a887491eb108c.tar.gz
historical-4dc1bb4ce3fa0410355757b5dd1a887491eb108c.tar.bz2
historical-4dc1bb4ce3fa0410355757b5dd1a887491eb108c.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"