Fixed regressions.

This commit is contained in:
Todd Gamblin 2014-02-05 08:30:28 -08:00
parent 9e469c37c4
commit 72f0192ddd
2 changed files with 9 additions and 10 deletions

View file

@ -691,8 +691,7 @@ def module(self):
def install(self, spec, prefix):
"""Package implementations override this with their own build configuration."""
configure()
#tty.die("Packages must provide an install method!")
tty.die("Packages must provide an install method!")
def do_uninstall(self):

View file

@ -36,12 +36,12 @@ class Libelf(Package):
versions = { '0.8.13' : '4136d7b4c04df68b686570afa26988ac',
'0.8.12' : 'e21f8273d9f5f6d43a59878dc274fec7', }
# def install(self, spec, prefix):
# configure("--prefix=" + prefix,
# "--enable-shared",
# "--disable-dependency-tracking",
# "--disable-debug")
# make()
def install(self, spec, prefix):
configure("--prefix=" + prefix,
"--enable-shared",
"--disable-dependency-tracking",
"--disable-debug")
make()
# # The mkdir commands in libelf's install can fail in parallel
# make("install", parallel=False)
# The mkdir commands in libelf's install can fail in parallel
make("install", parallel=False)