sci-physics/root: set PATH and ROOTPATH, bug 641422
authorGuilherme Amadio <amadio@gentoo.org>
Tue, 16 Jan 2018 14:07:05 +0000 (15:07 +0100)
committerGuilherme Amadio <amadio@gentoo.org>
Fri, 19 Jan 2018 16:35:12 +0000 (17:35 +0100)
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

sci-physics/root/root-6.12.04-r2.ebuild [moved from sci-physics/root/root-6.12.04-r1.ebuild with 98% similarity]

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 7bb076d355655b92e17834a1a2a646a12868e05d..144d2eaaf8366dda5c7d233ca020f69741ca7c83 100644 (file)
@@ -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