ports/graphics/py-blockdiag/files/patch-src-blockdiag-utils-bootstrap.py
TAKATSU Tomonari eff562077c - Update to 1.5.3
- Fix Python version
- Make use of options helpers
- Regenerate patch file with 'make makepatch'
2016-04-10 09:34:59 +00:00

15 lines
450 B
Python

--- src/blockdiag/utils/bootstrap.py.orig 2014-11-21 02:20:16 UTC
+++ src/blockdiag/utils/bootstrap.py
@@ -254,11 +254,7 @@ class Options(object):
def detectfont(options):
import glob
fontdirs = [
- '/usr/share/fonts',
- '/Library/Fonts',
- '/System/Library/Fonts',
- 'c:/windows/fonts',
- '/usr/local/share/font-*',
+ '%%LOCALBASE%%/share/font-*',
]
fontfiles = [
'ipagp.ttf',