Rename gc => bdw-gc, fix libunistring bug

This commit is contained in:
Adam J. Stewart 2016-07-13 14:36:35 -05:00
parent 5b1a882fc2
commit 6db99a4fe7
3 changed files with 4 additions and 6 deletions

View File

@ -25,7 +25,7 @@
from spack import *
class Gc(Package):
class BdwGc(Package):
"""The Boehm-Demers-Weiser conservative garbage collector is a garbage
collecting replacement for C malloc or C++ new."""

View File

@ -41,7 +41,7 @@ class Guile(Package):
depends_on('gettext')
depends_on('libtool@1.5.6:')
depends_on('libunistring@0.9.3:')
depends_on('gc@7.0:')
depends_on('bdw-gc@7.0:')
depends_on('libffi')
depends_on('readline', when='+readline')
depends_on('pkg-config')

View File

@ -34,11 +34,9 @@ class Libunistring(Package):
version('0.9.6', 'cb09c398020c27edac10ca590e9e9ef3')
depends_on('libiconv')
def install(self, spec, prefix):
configure('--prefix={0}'.format(prefix),
'--with-libiconv-prefix={0}'.format(spec['libiconv'].prefix))
configure('--prefix={0}'.format(prefix))
make()
# make('check') # test-verify fails for me, contacted developers
make('install')