magics: use spack perl instead of system perl (#4310)
This commit is contained in:
parent
132b3c56bc
commit
8ab8459397
1 changed files with 3 additions and 3 deletions
|
@ -23,6 +23,7 @@
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
##############################################################################
|
##############################################################################
|
||||||
from spack import *
|
from spack import *
|
||||||
|
import glob
|
||||||
|
|
||||||
|
|
||||||
class Magics(Package):
|
class Magics(Package):
|
||||||
|
@ -73,10 +74,9 @@ class Magics(Package):
|
||||||
depends_on('libemos', when='+bufr')
|
depends_on('libemos', when='+bufr')
|
||||||
depends_on('qt', when='+metview+qt')
|
depends_on('qt', when='+metview+qt')
|
||||||
|
|
||||||
@when('@:2.29.6')
|
|
||||||
def patch(self):
|
def patch(self):
|
||||||
filter_file('#!/usr/bin/perl', '#!/usr/bin/env perl',
|
for plfile in glob.glob('*/*.pl'):
|
||||||
'tools/xml2cc_new.pl')
|
filter_file('#!/usr/bin/perl', '#!/usr/bin/env perl', plfile)
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
options = []
|
options = []
|
||||||
|
|
Loading…
Reference in a new issue