blast-legacy: fix build issues (#13370)

This commit is contained in:
Eric Martin 2019-10-23 23:16:22 -05:00 committed by Adam J. Stewart
parent 944ffe44a7
commit 44485c56b6

View File

@ -19,9 +19,10 @@ class BlastLegacy(Package):
depends_on('tcsh', type='build')
def install(self, spec, prefix):
filter_file('/bin/csh -f', '/bin/env tcsh', 'make/ln-if-absent',
filter_file('/bin/csh -f', '/usr/bin/env tcsh', 'make/ln-if-absent',
string=True)
symlink(self.stage.source_path, '../ncbi')
tcsh = which('tcsh')
with working_dir('..'):
tcsh('./ncbi/make/makedis.csh')