+ For darwin, add a dependency on gettext. This change was recommended in the discussion for PR#601.
This commit is contained in:
parent
be2862ef4e
commit
2ad5d2ea2a
@ -23,6 +23,7 @@
|
|||||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
##############################################################################
|
##############################################################################
|
||||||
from spack import *
|
from spack import *
|
||||||
|
import sys
|
||||||
|
|
||||||
class Numdiff(Package):
|
class Numdiff(Package):
|
||||||
"""Numdiff is a little program that can be used to compare putatively
|
"""Numdiff is a little program that can be used to compare putatively
|
||||||
@ -34,6 +35,8 @@ class Numdiff(Package):
|
|||||||
|
|
||||||
version('5.8.1', 'a295eb391f6cb1578209fc6b4f9d994e')
|
version('5.8.1', 'a295eb391f6cb1578209fc6b4f9d994e')
|
||||||
|
|
||||||
|
depends_on('gettext', sys.platform=='darwin')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
options = ['--prefix=%s' % prefix]
|
options = ['--prefix=%s' % prefix]
|
||||||
configure(*options)
|
configure(*options)
|
||||||
|
Loading…
Reference in New Issue
Block a user