summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2011-04-21 02:08:50 +0530
committerNirbheek Chauhan <nirbheek@gentoo.org>2011-04-21 02:08:50 +0530
commit4ed77a4609bb55081f91a5f3c6afeeffc1196216 (patch)
tree0f76294ec7a95967e9ba5597e71bf780fd197d73 /eclass/gnome2-live.eclass
parentUpdate package.keywords.gnome3 once again (diff)
downloadgnome-4ed77a4609bb55081f91a5f3c6afeeffc1196216.tar.gz
gnome-4ed77a4609bb55081f91a5f3c6afeeffc1196216.tar.bz2
gnome-4ed77a4609bb55081f91a5f3c6afeeffc1196216.zip
gnome2-live.eclass: fix module path breakage, bug 363219
Diffstat (limited to 'eclass/gnome2-live.eclass')
-rw-r--r--eclass/gnome2-live.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/gnome2-live.eclass b/eclass/gnome2-live.eclass
index e85a9c92..3b4ea780 100644
--- a/eclass/gnome2-live.eclass
+++ b/eclass/gnome2-live.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -17,7 +17,7 @@ inherit autotools gnome2 gnome2-utils libtool git
# Stolen from git.eclass
EXPORTED_FUNCTIONS="src_unpack pkg_postinst"
case "${EAPI:-0}" in
- 2|3) EXPORTED_FUNCTIONS="${EXPORTED_FUNCTIONS} src_prepare" ;;
+ 2|3|4) EXPORTED_FUNCTIONS="${EXPORTED_FUNCTIONS} src_prepare" ;;
0|1) ;;
*) die "Unknown EAPI, Bug eclass maintainers." ;;
esac
@@ -39,10 +39,10 @@ DEPEND="${DEPEND}
ELTCONF=${ELTCONF:-}
# Default git module name
-GNOME_LIVE_MODULE=${MODPATH:-"${PN}"}
+GNOME_LIVE_MODULE=${GNOME_LIVE_MODULE:-"${PN}"}
# GIT URI for the project
-EGIT_REPO_URI="${EGIT_REPO_URI:-"git://git.gnome.org/${MODPATH}"}"
+EGIT_REPO_URI="${EGIT_REPO_URI:-"git://git.gnome.org/${GNOME_LIVE_MODULE}"}"
# Unset SRC_URI auto-set by gnome2.eclass
SRC_URI=""