summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorToyohisa Kameyama <kameyama@riken.jp>2019-07-12 05:34:50 +0900
committerPeter Scheibel <scheibel1@llnl.gov>2019-07-11 13:34:50 -0700
commit6a731b4d8f4eef5dc6093722653cb437b21180ba (patch)
treedabadbf202eb6098329a55052a92afcff3590e12 /var
parente3299e6923c8c998317ed9db1dbf86bf45a052f6 (diff)
downloadspack-6a731b4d8f4eef5dc6093722653cb437b21180ba.tar.gz
spack-6a731b4d8f4eef5dc6093722653cb437b21180ba.tar.bz2
spack-6a731b4d8f4eef5dc6093722653cb437b21180ba.tar.xz
spack-6a731b4d8f4eef5dc6093722653cb437b21180ba.zip
luit package: use autotools. (#11962)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/luit/package.py12
1 files 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']