summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-02 10:35:53 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-02 10:35:53 +0000
commit9f0e152c78d0cf468d159a0c32ef706570eb5626 (patch)
tree157b738703c0f2cb4e20b030713ba8ebdb1be39a /eclass
parentInitial commit. (diff)
downloadhistorical-9f0e152c78d0cf468d159a0c32ef706570eb5626.tar.gz
historical-9f0e152c78d0cf468d159a0c32ef706570eb5626.tar.bz2
historical-9f0e152c78d0cf468d159a0c32ef706570eb5626.zip
Make ebuild usable for Terminal and Thunar for MY_P substituting.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/xfconf.eclass9
1 files changed, 7 insertions, 2 deletions
diff --git a/eclass/xfconf.eclass b/eclass/xfconf.eclass
index ad3d91aaa536..5fe431519ab2 100644
--- a/eclass/xfconf.eclass
+++ b/eclass/xfconf.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.1 2009/08/01 20:08:30 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.2 2009/08/02 10:35:53 ssuominen Exp $
# @ECLASS: xfconf.eclass
# @MAINTAINER:
@@ -31,7 +31,12 @@
inherit autotools base fdo-mime gnome2-utils libtool
-MY_P=${P}
+if ! [[ ${MY_P} ]]; then
+ MY_P=${P}
+else
+ S=${WORKDIR}/${MY_P}
+fi
+
SRC_URI="mirror://xfce/xfce-${PV}/src/${MY_P}.tar.bz2"
if [[ "${EINTLTOOLIZE}" == "yes" ]]; then