diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-02 10:35:53 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-02 10:35:53 +0000 |
commit | 3d5c3fc2add1be664a3df5f38d32479b161f9b4f (patch) | |
tree | 9338aa9528e10152c27238dcd6c74304c91c5275 /eclass | |
parent | alpha/ia64 stable wrt #276990 (diff) | |
download | gentoo-2-3d5c3fc2add1be664a3df5f38d32479b161f9b4f.tar.gz gentoo-2-3d5c3fc2add1be664a3df5f38d32479b161f9b4f.tar.bz2 gentoo-2-3d5c3fc2add1be664a3df5f38d32479b161f9b4f.zip |
Make ebuild usable for Terminal and Thunar for MY_P substituting.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/xfconf.eclass | 9 |
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 |