From 3d5c3fc2add1be664a3df5f38d32479b161f9b4f Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Sun, 2 Aug 2009 10:35:53 +0000 Subject: Make ebuild usable for Terminal and Thunar for MY_P substituting. --- eclass/xfconf.eclass | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'eclass') 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 -- cgit v1.2.3-65-gdbad