sci-chemistry/gromacs: fix sandbox issue (bug #591952)
authorChristoph Junghans <ottxor@gentoo.org>
Tue, 23 Aug 2016 23:51:04 +0000 (17:51 -0600)
committerChristoph Junghans <ottxor@gentoo.org>
Tue, 23 Aug 2016 23:51:04 +0000 (17:51 -0600)
Package-Manager: portage-2.2.28

sci-chemistry/gromacs/gromacs-2016.9999.ebuild
sci-chemistry/gromacs/gromacs-2016.ebuild
sci-chemistry/gromacs/gromacs-9999.ebuild

index 1b02d2ad989cc24c36c49e3ec99ae59cea94fe4a..b09b2477a31eeaf4aa3141ed0957d9b243a4cd8d 100644 (file)
@@ -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
index 1ca0343010506de720a00e4edbd62b0eba0ec2df..c93c50724cc69fd90218b848cd138c4dd7549315 100644 (file)
@@ -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
index 5493e601ed40532a18c72bd5296e547c85cca179..4a21c979f07ecb20286c8ab185d727480f2d9da1 100644 (file)
@@ -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