commit:     7cbbf1df31c9ba400f57a3888988781f31b7ce6d
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 23 23:51:04 2016 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Tue Aug 23 23:51:04 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cbbf1df

sci-chemistry/gromacs: fix sandbox issue (bug #591952)

Package-Manager: portage-2.2.28

 sci-chemistry/gromacs/gromacs-2016.9999.ebuild | 4 +++-
 sci-chemistry/gromacs/gromacs-2016.ebuild      | 4 +++-
 sci-chemistry/gromacs/gromacs-9999.ebuild      | 4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/sci-chemistry/gromacs/gromacs-2016.9999.ebuild 
b/sci-chemistry/gromacs/gromacs-2016.9999.ebuild
index 1b02d2a..b09b247 100644
--- a/sci-chemistry/gromacs/gromacs-2016.9999.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2016.9999.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 
 CMAKE_MAKEFILE_GENERATOR="ninja"
 
-inherit bash-completion-r1 cmake-utils cuda eutils multilib readme.gentoo-r1 
toolchain-funcs
+inherit bash-completion-r1 cmake-utils cuda eutils multilib readme.gentoo-r1 
toolchain-funcs xdg-utils
 
 if [[ $PV = *9999* ]]; then
        EGIT_REPO_URI="git://git.gromacs.org/gromacs.git
@@ -93,6 +93,8 @@ src_prepare() {
        #notes/todos
        # -on apple: there is framework support
 
+       xdg_environment_reset #591952
+
        cmake-utils_src_prepare
 
        use cuda && cuda_src_prepare

diff --git a/sci-chemistry/gromacs/gromacs-2016.ebuild 
b/sci-chemistry/gromacs/gromacs-2016.ebuild
index 1ca0343..c93c507 100644
--- a/sci-chemistry/gromacs/gromacs-2016.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2016.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 
 CMAKE_MAKEFILE_GENERATOR="ninja"
 
-inherit bash-completion-r1 cmake-utils cuda eutils multilib readme.gentoo-r1 
toolchain-funcs
+inherit bash-completion-r1 cmake-utils cuda eutils multilib readme.gentoo-r1 
toolchain-funcs xdg-utils
 
 if [[ $PV = *9999* ]]; then
        EGIT_REPO_URI="git://git.gromacs.org/gromacs.git
@@ -93,6 +93,8 @@ src_prepare() {
        #notes/todos
        # -on apple: there is framework support
 
+       xdg_environment_reset #591952
+
        cmake-utils_src_prepare
 
        use cuda && cuda_src_prepare

diff --git a/sci-chemistry/gromacs/gromacs-9999.ebuild 
b/sci-chemistry/gromacs/gromacs-9999.ebuild
index 5493e60..4a21c97 100644
--- a/sci-chemistry/gromacs/gromacs-9999.ebuild
+++ b/sci-chemistry/gromacs/gromacs-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 
 CMAKE_MAKEFILE_GENERATOR="ninja"
 
-inherit bash-completion-r1 cmake-utils cuda eutils multilib readme.gentoo-r1 
toolchain-funcs
+inherit bash-completion-r1 cmake-utils cuda eutils multilib readme.gentoo-r1 
toolchain-funcs xdg-utils
 
 if [[ $PV = *9999* ]]; then
        EGIT_REPO_URI="git://git.gromacs.org/gromacs.git
@@ -93,6 +93,8 @@ src_prepare() {
        #notes/todos
        # -on apple: there is framework support
 
+       xdg_environment_reset #591952
+
        cmake-utils_src_prepare
 
        use cuda && cuda_src_prepare

Reply via email to