summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorDenis Davydov <davydden@gmail.com>2016-03-30 11:59:13 +0200
committerDenis Davydov <davydden@gmail.com>2016-03-30 13:28:33 +0200
commit9e9f5d01ad43e9b00262a12d1fd1225ac368581d (patch)
treed5272621e004dd76375b8f5c3835f4c9e97874ce /var
parentc0173872143575e285f6bd8a710196de42007f9e (diff)
downloadspack-9e9f5d01ad43e9b00262a12d1fd1225ac368581d.tar.gz
spack-9e9f5d01ad43e9b00262a12d1fd1225ac368581d.tar.bz2
spack-9e9f5d01ad43e9b00262a12d1fd1225ac368581d.tar.xz
spack-9e9f5d01ad43e9b00262a12d1fd1225ac368581d.zip
doxygen: add missing dependencies
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/doxygen/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/doxygen/package.py b/var/spack/repos/builtin/packages/doxygen/package.py
index 3d4a4e47a7..3a1deba9e1 100644
--- a/var/spack/repos/builtin/packages/doxygen/package.py
+++ b/var/spack/repos/builtin/packages/doxygen/package.py
@@ -4,6 +4,7 @@
#------------------------------------------------------------------------------
from spack import *
+import sys
class Doxygen(Package):
"""Doxygen is the de facto standard tool for generating documentation
@@ -17,6 +18,10 @@ class Doxygen(Package):
version('1.8.10', '79767ccd986f12a0f949015efb5f058f')
depends_on("cmake@2.8.12:")
+ # flex does not build on OSX, but it's provided there anyway
+ depends_on("flex", sys.platform != 'darwin')
+ depends_on("bison", sys.platform != 'darwin')
+
def install(self, spec, prefix):
cmake('.', *std_cmake_args)