sci-physics/root: set ROOTPATH so that portage finds ROOT, bug 641422
authorGuilherme Amadio <amadio@gentoo.org>
Mon, 18 Dec 2017 09:08:55 +0000 (10:08 +0100)
committerGuilherme Amadio <amadio@gentoo.org>
Mon, 18 Dec 2017 13:11:57 +0000 (14:11 +0100)
As mentioned in the bug, this is needed for building packages that
depend on ROOT, like sci-physics/{geant-vmc,gentfit,vgm}.

Closes: https://bugs.gentoo.org/641422
Package-Manager: Portage-2.3.18, Repoman-2.3.6

sci-physics/root/root-6.12.04.ebuild

index a3a12846bd4a40548d9460c91585bec730e06cdd..4a5da3db24e8e9ab5c7eb83befddb62d14795177 100644 (file)
@@ -302,6 +302,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 "LDPATH=${EPREFIX}/${MY_PREFIX}/$(get_libdir)" >> 99root || die
 
        if use pythia8; then