diff options
author | Kelly (KT) Thompson <kgt@lanl.gov> | 2016-03-30 15:40:04 -0600 |
---|---|---|
committer | Kelly (KT) Thompson <kgt@lanl.gov> | 2016-03-30 15:40:04 -0600 |
commit | 2ad5d2ea2a280dd81a254458fcfb465073aef8da (patch) | |
tree | cbaa45d5c49c4386b7d17757143678dbfc93c089 | |
parent | be2862ef4ec0f36ec77ed5c2f915f315b9eed238 (diff) | |
download | spack-2ad5d2ea2a280dd81a254458fcfb465073aef8da.tar.gz spack-2ad5d2ea2a280dd81a254458fcfb465073aef8da.tar.bz2 spack-2ad5d2ea2a280dd81a254458fcfb465073aef8da.tar.xz spack-2ad5d2ea2a280dd81a254458fcfb465073aef8da.zip |
+ For darwin, add a dependency on gettext. This change was recommended in the discussion for PR#601.
-rw-r--r-- | var/spack/repos/builtin/packages/numdiff/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/numdiff/package.py b/var/spack/repos/builtin/packages/numdiff/package.py index a51f6206cf..e72c60fadb 100644 --- a/var/spack/repos/builtin/packages/numdiff/package.py +++ b/var/spack/repos/builtin/packages/numdiff/package.py @@ -23,6 +23,7 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ############################################################################## from spack import * +import sys class Numdiff(Package): """Numdiff is a little program that can be used to compare putatively @@ -34,6 +35,8 @@ class Numdiff(Package): version('5.8.1', 'a295eb391f6cb1578209fc6b4f9d994e') + depends_on('gettext', sys.platform=='darwin') + def install(self, spec, prefix): options = ['--prefix=%s' % prefix] configure(*options) |