From 703e61104317332d60bd0bde49652b8618cd0e6b Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Thu, 1 May 2014 23:27:09 -0700 Subject: Make mrnet depend on boost. --- var/spack/packages/mrnet/package.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'var') 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) -- cgit v1.2.3-60-g2f50