diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-07-11 16:58:10 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-07-11 16:58:10 +0000 |
commit | 6aa6eac9dde5bcc96c51703a54c007fa91c13057 (patch) | |
tree | cbe59c06c55e1d6508c4e221ed357959159a1807 /sci-chemistry | |
parent | Add x86 keyword. Thanks to Jochen Schalanda for his report in bug 325473. (diff) | |
download | gentoo-2-6aa6eac9dde5bcc96c51703a54c007fa91c13057.tar.gz gentoo-2-6aa6eac9dde5bcc96c51703a54c007fa91c13057.tar.bz2 gentoo-2-6aa6eac9dde5bcc96c51703a54c007fa91c13057.zip |
Respecting USE=cairo and fix for prefix, thanks rei4dan for the patch
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/bkchem/ChangeLog | 5 | ||||
-rw-r--r-- | sci-chemistry/bkchem/bkchem-0.14.0_pre1-r2.ebuild | 8 |
2 files changed, 8 insertions, 5 deletions
diff --git a/sci-chemistry/bkchem/ChangeLog b/sci-chemistry/bkchem/ChangeLog index c4b205d41d6b..b23850e50a5a 100644 --- a/sci-chemistry/bkchem/ChangeLog +++ b/sci-chemistry/bkchem/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-chemistry/bkchem # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/bkchem/ChangeLog,v 1.4 2010/06/25 08:06:22 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/bkchem/ChangeLog,v 1.5 2010/07/11 16:58:10 jlec Exp $ + + 11 Jul 2010; Justin Lecher <jlec@gentoo.org> bkchem-0.14.0_pre1-r2.ebuild: + Respecting USE=cairo and fix for prefix, thanks rei4dan for the patch 25 Jun 2010; Justin Lecher <jlec@gentoo.org> bkchem-0.14.0_pre1-r2.ebuild: Added desktop entry diff --git a/sci-chemistry/bkchem/bkchem-0.14.0_pre1-r2.ebuild b/sci-chemistry/bkchem/bkchem-0.14.0_pre1-r2.ebuild index 16f8bd8c157f..acedf89ea256 100644 --- a/sci-chemistry/bkchem/bkchem-0.14.0_pre1-r2.ebuild +++ b/sci-chemistry/bkchem/bkchem-0.14.0_pre1-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/bkchem/bkchem-0.14.0_pre1-r2.ebuild,v 1.3 2010/06/25 08:06:22 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/bkchem/bkchem-0.14.0_pre1-r2.ebuild,v 1.4 2010/07/11 16:58:10 jlec Exp $ EAPI="3" @@ -20,7 +20,7 @@ KEYWORDS="~amd64 ~x86" LICENSE="GPL-2" IUSE="cairo" -DEPEND="dev-python/pycairo[svg]" +DEPEND="cairo? ( dev-python/pycairo[svg] )" RDEPEND="${DEPEND}" S="${WORKDIR}"/${MY_P} @@ -36,6 +36,6 @@ src_prepare() { src_install() { distutils_src_install "--strip=${D%/}" - sed "s:^python:$(PYTHON):g" -i "${D}"/usr/bin/${PN} || die - make_desktop_entry /usr/bin/bkchem BKChem /usr/share/${PN}/images/${PN}.png + sed "s:^python:$(PYTHON):g" -i "${ED}"/usr/bin/${PN} || die + make_desktop_entry "${EPREFIX}"/usr/bin/bkchem BKChem "${EPREFIX}"/usr/share/${PN}/images/${PN}.png } |