summaryrefslogtreecommitdiffstats
path: root/devel/swig/REPAIR^all^PRE_SUB_DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'devel/swig/REPAIR^all^PRE_SUB_DEPENDS')
-rwxr-xr-xdevel/swig/REPAIR^all^PRE_SUB_DEPENDS12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/swig/REPAIR^all^PRE_SUB_DEPENDS b/devel/swig/REPAIR^all^PRE_SUB_DEPENDS
new file mode 100755
index 0000000000..e4c0d2df4b
--- /dev/null
+++ b/devel/swig/REPAIR^all^PRE_SUB_DEPENDS
@@ -0,0 +1,12 @@
+case "$THIS_SUB_DEPENDS" in
+ PYTHON) is_depends_enabled $SPELL python ;;
+ PYTHON3) is_depends_enabled $SPELL python3 ;;
+ GUILE) is_depends_enabled $SPELL guile ;;
+ JAVA) is_depends_enabled $SPELL JAVA ;;
+ PERL) is_depends_enabled $SPELL perl ;;
+ RUBY) is_depends_enabled $SPELL ruby ;;
+ PHP) is_depends_enabled $SPELL php ;;
+ TCL) is_depends_enabled $SPELL tcl ;;
+*) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}" ;
+ return 1;;
+esac