diff options
-rw-r--r-- | var/spack/packages/mrnet/package.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/var/spack/packages/mrnet/package.py b/var/spack/packages/mrnet/package.py index 220af4efe8..7a0285606a 100644 --- a/var/spack/packages/mrnet/package.py +++ b/var/spack/packages/mrnet/package.py @@ -8,6 +8,8 @@ class Mrnet(Package): versions = { '4.0.0' : 'd00301c078cba57ef68613be32ceea2f', } parallel = False + depends_on("boost") + def install(self, spec, prefix): configure("--prefix=%s" %prefix, "--enable-shared") @@ -17,5 +19,7 @@ class Mrnet(Package): # TODO: copy configuration header files to include directory # this can be removed once we have STAT-2.1.0 import shutil - shutil.copy2('%s/lib/mrnet-%s/include/mrnet_config.h' % (prefix, self.version), '%s/include/mrnet_config.h' % prefix) - shutil.copy2('%s/lib/xplat-%s/include/xplat_config.h' % (prefix, self.version), '%s/include/xplat_config.h' % prefix) + shutil.copy2('%s/lib/mrnet-%s/include/mrnet_config.h' % (prefix, self.version), + '%s/include/mrnet_config.h' % prefix) + shutil.copy2('%s/lib/xplat-%s/include/xplat_config.h' % (prefix, self.version), + '%s/include/xplat_config.h' % prefix) |