summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/ocaml/package.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/ocaml/package.py b/var/spack/repos/builtin/packages/ocaml/package.py
index 855e2d7b3b..75c19ec7c6 100644
--- a/var/spack/repos/builtin/packages/ocaml/package.py
+++ b/var/spack/repos/builtin/packages/ocaml/package.py
@@ -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')