Merge pull request #353 from eschnett/eschnett/ncurses

Install ncurses properly
This commit is contained in:
Todd Gamblin 2016-01-17 18:49:00 -08:00
commit 85e8f8eb6a

View File

@ -17,19 +17,14 @@ class Ncurses(Package):
patch('patch_gcc_5.txt', when='%gcc@5.0:') patch('patch_gcc_5.txt', when='%gcc@5.0:')
def install(self, spec, prefix): def install(self, spec, prefix):
configure("--prefix=%s" % prefix, opts = [
"--with-shared", "--prefix=%s" % prefix,
"--enable-widec", "--with-shared",
"--disable-pc-files", "--with-cxx-shared",
"--without-ada") "--enable-widec",
"--enable-overwrite",
"--disable-lib-suffixes",
"--without-ada"]
configure(*opts)
make() make()
make("install") make("install")
configure("--prefix=%s" % prefix,
"--with-shared",
"--disable-widec",
"--disable-pc-files",
"--without-ada")
make()
make("install")