Ocaml fails as an AutotoolsPackage (#2995)
Switch the ocaml install bit back to being a Package with its own little install method. This fix allows me to build Unison on CentOS 7.
This commit is contained in:
parent
10d36ee343
commit
6c1b19f394
1 changed files with 6 additions and 2 deletions
|
@ -25,7 +25,7 @@
|
|||
from spack import *
|
||||
|
||||
|
||||
class Ocaml(AutotoolsPackage):
|
||||
class Ocaml(Package):
|
||||
"""OCaml is an industrial strength programming language supporting
|
||||
functional, imperative and object-oriented styles"""
|
||||
|
||||
|
@ -36,4 +36,8 @@ class Ocaml(AutotoolsPackage):
|
|||
|
||||
depends_on('ncurses')
|
||||
|
||||
build_targets = ['world.opt']
|
||||
def install(self, spec, prefix):
|
||||
configure('-prefix', '{0}'.format(prefix))
|
||||
|
||||
make('world.opt')
|
||||
make('install')
|
||||
|
|
Loading…
Reference in a new issue