From 6a731b4d8f4eef5dc6093722653cb437b21180ba Mon Sep 17 00:00:00 2001 From: Toyohisa Kameyama Date: Fri, 12 Jul 2019 05:34:50 +0900 Subject: luit package: use autotools. (#11962) --- var/spack/repos/builtin/packages/luit/package.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/var/spack/repos/builtin/packages/luit/package.py b/var/spack/repos/builtin/packages/luit/package.py index 903508ae77..badeb7b4bd 100644 --- a/var/spack/repos/builtin/packages/luit/package.py +++ b/var/spack/repos/builtin/packages/luit/package.py @@ -6,7 +6,7 @@ from spack import * -class Luit(Package): +class Luit(AutotoolsPackage): """Luit is a filter that can be run between an arbitrary application and a UTF-8 terminal emulator such as xterm. It will convert application output from the locale's encoding into UTF-8, and convert terminal @@ -23,10 +23,6 @@ class Luit(Package): depends_on('pkgconfig', type='build') depends_on('util-macros', type='build') - def install(self, spec, prefix): - configure('--prefix={0}'.format(prefix), - # see http://www.linuxquestions.org/questions/linux-from-scratch-13/can't-compile-luit-xorg-applications-4175476308/ # noqa - 'CFLAGS=-U_XOPEN_SOURCE -D_XOPEN_SOURCE=600') - - make() - make('install') + # see http://www.linuxquestions.org/questions/linux-from-scratch-13/can't-compile-luit-xorg-applications-4175476308/ # noqa + def configure_args(self): + return ['CFLAGS=-U_XOPEN_SOURCE -D_XOPEN_SOURCE=600'] -- cgit v1.2.3-60-g2f50