diff options
author | Jordan Galby <67924449+Jordan474@users.noreply.github.com> | 2021-08-27 19:42:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-27 10:42:12 -0700 |
commit | 2d97d877e49c947ced2c7a09e6d16c6c71c079ac (patch) | |
tree | a18c2e63883648c6b1f7043f3a708f152a5bcd60 | |
parent | 7fd4dee9624c51197d68e4f5ea6f4c44e21266f1 (diff) | |
download | spack-2d97d877e49c947ced2c7a09e6d16c6c71c079ac.tar.gz spack-2d97d877e49c947ced2c7a09e6d16c6c71c079ac.tar.bz2 spack-2d97d877e49c947ced2c7a09e6d16c6c71c079ac.tar.xz spack-2d97d877e49c947ced2c7a09e6d16c6c71c079ac.zip |
figlet: Fix figlet font dir (#25662)
By default, figlet looks for fonts in `/usr/local/share/figlet`, and if
it doesn't exist you get `figlet: standard: Unable to open font file`.
This fix changes the default font dir to the one installed in the
install prefix.
-rw-r--r-- | var/spack/repos/builtin/packages/figlet/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/figlet/package.py b/var/spack/repos/builtin/packages/figlet/package.py index 31c1f61cea..cc6b1d883e 100644 --- a/var/spack/repos/builtin/packages/figlet/package.py +++ b/var/spack/repos/builtin/packages/figlet/package.py @@ -29,3 +29,7 @@ class Figlet(MakefilePackage): install(f, prefix.man6) install_tree('./fonts', prefix.share.figlet) + + @property + def build_targets(self): + return ['DEFAULTFONTDIR=' + self.prefix.share.figlet] |