summaryrefslogtreecommitdiffstats
path: root/ftp-libs/rb-libtorrent/SUB_DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'ftp-libs/rb-libtorrent/SUB_DEPENDS')
-rwxr-xr-xftp-libs/rb-libtorrent/SUB_DEPENDS12
1 files changed, 12 insertions, 0 deletions
diff --git a/ftp-libs/rb-libtorrent/SUB_DEPENDS b/ftp-libs/rb-libtorrent/SUB_DEPENDS
new file mode 100755
index 0000000000..e1e4a49919
--- /dev/null
+++ b/ftp-libs/rb-libtorrent/SUB_DEPENDS
@@ -0,0 +1,12 @@
+# On branch devel-miro
+# Changed but not updated:
+case $THIS_SUB_DEPENDS in
+ PYTHON)
+ message "$SPELL with Python requested, forcing boost python dependency" &&
+ RB_LIBTORRENT_OPTS="--enable-python-binding"
+ sub_depends boost PYTHON
+ ;;
+ *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}"
+ return 1;;
+esac
+