Use configure_args rather than options

Replaced 'options' with 'configure_args'. That seems like a better name
and is consistent with the packaging guide.
This commit is contained in:
Glenn Johnson 2016-05-29 16:06:03 -05:00
parent fe256870b4
commit 8704a4ed35

View File

@ -73,15 +73,15 @@ class R(Package):
def install(self, spec, prefix): def install(self, spec, prefix):
rlibdir = join_path(prefix, 'rlib') rlibdir = join_path(prefix, 'rlib')
options = ['--prefix=%s' % prefix, configure_args = ['--prefix=%s' % prefix,
'--libdir=%s' % rlibdir, '--libdir=%s' % rlibdir,
'--enable-R-shlib', '--enable-R-shlib',
'--enable-BLAS-shlib', '--enable-BLAS-shlib',
'--enable-R-framework=no'] '--enable-R-framework=no']
if '+external-lapack' in spec: if '+external-lapack' in spec:
options.extend(['--with-blas', '--with-lapack']) configure_args.extend(['--with-blas', '--with-lapack'])
configure(*options) configure(*configure_args)
make() make()
make('install') make('install')