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.
This commit is contained in:
parent
7fd4dee962
commit
2d97d877e4
@ -29,3 +29,7 @@ def install(self, spec, prefix):
|
|||||||
install(f, prefix.man6)
|
install(f, prefix.man6)
|
||||||
|
|
||||||
install_tree('./fonts', prefix.share.figlet)
|
install_tree('./fonts', prefix.share.figlet)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def build_targets(self):
|
||||||
|
return ['DEFAULTFONTDIR=' + self.prefix.share.figlet]
|
||||||
|
Loading…
Reference in New Issue
Block a user