Skip to content
Snippets Groups Projects
Commit 6475937f authored by Denis Davydov's avatar Denis Davydov Committed by Todd Gamblin
Browse files

numdiff: fix dependency type on macOS (#2538)

parent 42dbd4f8
Branches
Tags
No related merge requests found
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
import sys import sys
class Numdiff(Package): class Numdiff(AutotoolsPackage):
"""Numdiff is a little program that can be used to compare putatively """Numdiff is a little program that can be used to compare putatively
similar files line by line and field by field, ignoring small numeric similar files line by line and field by field, ignoring small numeric
differences or/and different numeric formats.""" differences or/and different numeric formats."""
...@@ -36,10 +36,4 @@ class Numdiff(Package): ...@@ -36,10 +36,4 @@ class Numdiff(Package):
version('5.8.1', 'a295eb391f6cb1578209fc6b4f9d994e') version('5.8.1', 'a295eb391f6cb1578209fc6b4f9d994e')
depends_on('gettext', when=sys.platform == 'darwin', type='build') depends_on('gettext', when=sys.platform == 'darwin')
def install(self, spec, prefix):
options = ['--prefix=%s' % prefix]
configure(*options)
make()
make('install')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment