diff options
Diffstat (limited to 'ftp-libs/rb-libtorrent/PRE_SUB_DEPENDS')
-rwxr-xr-x | ftp-libs/rb-libtorrent/PRE_SUB_DEPENDS | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ftp-libs/rb-libtorrent/PRE_SUB_DEPENDS b/ftp-libs/rb-libtorrent/PRE_SUB_DEPENDS new file mode 100755 index 0000000000..ba56605920 --- /dev/null +++ b/ftp-libs/rb-libtorrent/PRE_SUB_DEPENDS @@ -0,0 +1,6 @@ +case $THIS_SUB_DEPENDS in + PYTHON) list_find "$RB_LIBTORRENT_OPTS" "--enable-python-binding" && return 0;; + *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}" + return 1;; +esac +return 1 |