diff options
Diffstat (limited to 'graphics-libs/harfbuzz/PRE_SUB_DEPENDS')
-rwxr-xr-x | graphics-libs/harfbuzz/PRE_SUB_DEPENDS | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics-libs/harfbuzz/PRE_SUB_DEPENDS b/graphics-libs/harfbuzz/PRE_SUB_DEPENDS new file mode 100755 index 0000000000..d50f45508f --- /dev/null +++ b/graphics-libs/harfbuzz/PRE_SUB_DEPENDS @@ -0,0 +1,6 @@ +case $THIS_SUB_DEPENDS in + GRAPHITE2) if [[ is_depends_enabled $SPELL graphite2 ]]; then return 0; fi ;; + FT) is_depends_enabled $SPELL freetype2 && return 0 ;; + *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}" ; + return 1;; +esac |