summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-05-08 14:35:50 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-05-08 14:35:50 -0700
commite2f390c5dae5e4eac1c02bb1ccf6c6e1cb7e2f60 (patch)
tree1800aa9a38b5975ac6df34a3ffe39471540391a0
parent7ec28231d91dab9eab3a21d253d682952db33478 (diff)
parent95c7f4fba3477240c03019414923537b1da1a364 (diff)
downloadspack-e2f390c5dae5e4eac1c02bb1ccf6c6e1cb7e2f60.tar.gz
spack-e2f390c5dae5e4eac1c02bb1ccf6c6e1cb7e2f60.tar.bz2
spack-e2f390c5dae5e4eac1c02bb1ccf6c6e1cb7e2f60.tar.xz
spack-e2f390c5dae5e4eac1c02bb1ccf6c6e1cb7e2f60.zip
Merge pull request #916 from jppelteret/bugfix/gmsh
Prevent GMsh from installing in custom prefix on OSX
-rw-r--r--var/spack/repos/builtin/packages/gmsh/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gmsh/package.py b/var/spack/repos/builtin/packages/gmsh/package.py
index 9d759303cb..eb2981bba2 100644
--- a/var/spack/repos/builtin/packages/gmsh/package.py
+++ b/var/spack/repos/builtin/packages/gmsh/package.py
@@ -62,6 +62,9 @@ class Gmsh(Package):
build_directory = join_path(self.stage.path, 'spack-build')
source_directory = self.stage.source_path
+
+ # Prevent GMsh from using its own strange directory structure on OSX
+ options.append('-DENABLE_OS_SPECIFIC_INSTALL=OFF')
if '+shared' in spec:
options.extend(['-DENABLE_BUILD_SHARED:BOOL=ON',