summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-fonts/dejavu/dejavu-2.37.ebuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/media-fonts/dejavu/dejavu-2.37.ebuild b/media-fonts/dejavu/dejavu-2.37.ebuild
index 3ed26ced4094..871e75a1dcf2 100644
--- a/media-fonts/dejavu/dejavu-2.37.ebuild
+++ b/media-fonts/dejavu/dejavu-2.37.ebuild
@@ -67,11 +67,20 @@ src_prepare() {
}
src_compile() {
+ local unicodedir="${EPREFIX}"/usr/share/unicode
+ local ucddir
+
+ if has_verson '<app-i18n/unicode-data-14.0.0-r1'; then
+ ucddir="${unicodedir}-data"
+ else
+ ucddir=${unicodedir}
+ fi
+
if use fontforge; then
emake \
BUILDDIR=ttf \
- BLOCKS=/usr/share/unicode-data/Blocks.txt \
- UNICODEDATA=/usr/share/unicode-data/UnicodeData.txt \
+ BLOCKS=${ucddir}/Blocks.txt \
+ UNICODEDATA=${ucddir}/UnicodeData.txt \
FC-LANG=/usr/share/fc-lang \
full sans
fi