From d8f4e0a5651c769e968e1e284bf3e8b30b5ed8fc Mon Sep 17 00:00:00 2001
From: Toyohisa Kameyama <kameyama@riken.jp>
Date: Sat, 29 Jun 2019 02:13:21 +0900
Subject: [PATCH] OTF package: use autotools. (#11873)

---
 var/spack/repos/builtin/packages/otf/package.py | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/var/spack/repos/builtin/packages/otf/package.py b/var/spack/repos/builtin/packages/otf/package.py
index 1d79d6a85e..092a08be39 100644
--- a/var/spack/repos/builtin/packages/otf/package.py
+++ b/var/spack/repos/builtin/packages/otf/package.py
@@ -6,7 +6,7 @@
 from spack import *
 
 
-class Otf(Package):
+class Otf(AutotoolsPackage):
     """To improve scalability for very large and massively parallel
        traces the Open Trace Format (OTF) is developed at ZIH as a
        successor format to the Vampir Trace Format (VTF3)."""
@@ -18,10 +18,10 @@ class Otf(Package):
 
     depends_on('zlib')
 
-    def install(self, spec, prefix):
-        configure('--prefix=%s' % prefix,
-                  '--without-vtf3',
-                  '--with-zlib',
-                  '--with-zlibsymbols')
-        make()
-        make("install")
+    def configure_args(self):
+        args = []
+
+        args.append('--without-vtf3')
+        args.append('--with-zlib')
+        args.append('--with-zlibsymbols')
+        return args
-- 
GitLab