From 24372ea7f292da93a8da1fff33f6b4b1e98b6b1d Mon Sep 17 00:00:00 2001 From: Guilherme Amadio Date: Tue, 16 Jan 2018 15:07:05 +0100 Subject: [PATCH] sci-physics/root: set PATH and ROOTPATH, bug 641422 The previous commit had a bug that overwrote the file with PATH setting. Now both PATH and ROOTPATH are properly set. Closes: https://bugs.gentoo.org/641422 Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- .../root/{root-6.12.04-r1.ebuild => root-6.12.04-r2.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename sci-physics/root/{root-6.12.04-r1.ebuild => root-6.12.04-r2.ebuild} (98%) diff --git a/sci-physics/root/root-6.12.04-r1.ebuild b/sci-physics/root/root-6.12.04-r2.ebuild similarity index 98% rename from sci-physics/root/root-6.12.04-r1.ebuild rename to sci-physics/root/root-6.12.04-r2.ebuild index 7bb076d35565..144d2eaaf836 100644 --- a/sci-physics/root/root-6.12.04-r1.ebuild +++ b/sci-physics/root/root-6.12.04-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -299,7 +299,7 @@ src_install() { use emacs && elisp-install ${PN} "${BUILD_DIR}"/root-help.el echo "PATH=${EPREFIX}/${MY_PREFIX}/bin" > 99root || die - echo "ROOTPATH=${EPREFIX}/${MY_PREFIX}/bin" > 99root || die + echo "ROOTPATH=${EPREFIX}/${MY_PREFIX}/bin" >> 99root || die echo "LDPATH=${EPREFIX}/${MY_PREFIX}/$(get_libdir)" >> 99root || die if use pythia8; then -- 2.26.2