Fix #9673 : build fonts on powerpc architecture (#9683)

* use AutotoolsPackage so config.guess get updated by autoreconf step, fix build problem on ppc #9673

* same error, same fix under ppc arch
This commit is contained in:
Luigi Calori 2018-11-13 18:01:46 +01:00 committed by Adam J. Stewart
parent ab48a96149
commit 4f27bb4f4e
2 changed files with 2 additions and 8 deletions

View File

@ -6,7 +6,7 @@
from spack import *
class FontAdobe100dpi(Package):
class FontAdobe100dpi(AutotoolsPackage):
"""X.org adobe-100dpi font."""
homepage = "http://cgit.freedesktop.org/xorg/font/adobe-100dpi"
@ -23,9 +23,6 @@ class FontAdobe100dpi(Package):
depends_on('util-macros', type='build')
def install(self, spec, prefix):
configure('--prefix={0}'.format(prefix))
make()
make('install')
# `make install` copies the files to the font-util installation.

View File

@ -6,7 +6,7 @@
from spack import *
class FontAdobe75dpi(Package):
class FontAdobe75dpi(AutotoolsPackage):
"""X.org adobe-75dpi font."""
homepage = "http://cgit.freedesktop.org/xorg/font/adobe-75dpi"
@ -23,9 +23,6 @@ class FontAdobe75dpi(Package):
depends_on('util-macros', type='build')
def install(self, spec, prefix):
configure('--prefix={0}'.format(prefix))
make()
make('install')
# `make install` copies the files to the font-util installation.