summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Davydov <davydden@gmail.com>2018-01-03 02:58:38 +0100
committerAdam J. Stewart <ajstewart426@gmail.com>2018-01-02 19:58:38 -0600
commitcc74da5aab95e35a8e9828d0df0595c456634c0e (patch)
tree80fb3e63da5c2ef25f7232b65cd82522f79f8ce1
parent353870fe50dc2ee6f3978978d5974aaffcca84fc (diff)
downloadspack-cc74da5aab95e35a8e9828d0df0595c456634c0e.tar.gz
spack-cc74da5aab95e35a8e9828d0df0595c456634c0e.tar.bz2
spack-cc74da5aab95e35a8e9828d0df0595c456634c0e.tar.xz
spack-cc74da5aab95e35a8e9828d0df0595c456634c0e.zip
mesa: disable binutils on macOS (#6763)
-rw-r--r--var/spack/repos/builtin/packages/mesa/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/mesa/package.py b/var/spack/repos/builtin/packages/mesa/package.py
index 9b91f8f332..7d10632806 100644
--- a/var/spack/repos/builtin/packages/mesa/package.py
+++ b/var/spack/repos/builtin/packages/mesa/package.py
@@ -21,7 +21,7 @@
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
-
+import sys
from spack import *
@@ -57,7 +57,7 @@ class Mesa(AutotoolsPackage):
depends_on('pkgconfig', type='build')
depends_on('flex@2.5.35:', type='build')
depends_on('bison@2.4.1:', type='build')
- depends_on('binutils', type='build')
+ depends_on('binutils', type='build', when=(sys.platform != 'darwin'))
depends_on('python@2.6.4:', type='build')
depends_on('py-mako@0.3.4:', type='build')
depends_on('gettext')