summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/fltk/PRE_SUB_DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/fltk/PRE_SUB_DEPENDS')
-rwxr-xr-xx11-toolkits/fltk/PRE_SUB_DEPENDS1
1 files changed, 1 insertions, 0 deletions
diff --git a/x11-toolkits/fltk/PRE_SUB_DEPENDS b/x11-toolkits/fltk/PRE_SUB_DEPENDS
index ee14d9c1bc..41e546446d 100755
--- a/x11-toolkits/fltk/PRE_SUB_DEPENDS
+++ b/x11-toolkits/fltk/PRE_SUB_DEPENDS
@@ -1,5 +1,6 @@
case $THIS_SUB_DEPENDS in
THREAD) list_find "$FLTK_SUBOPTS" '--enable-threads' ;;
+ OPENGL) is_depends_enabled $SPELL $(get_spell_provider $SPELL OPENGL) && return 0;;
*) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}" ;
return 1;;
esac