diff options
Diffstat (limited to 'sys-libs/ldb/ldb-2.1.4-r1.ebuild')
-rw-r--r-- | sys-libs/ldb/ldb-2.1.4-r1.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys-libs/ldb/ldb-2.1.4-r1.ebuild b/sys-libs/ldb/ldb-2.1.4-r1.ebuild index 91e258a2a019..ac64906fee13 100644 --- a/sys-libs/ldb/ldb-2.1.4-r1.ebuild +++ b/sys-libs/ldb/ldb-2.1.4-r1.ebuild @@ -32,12 +32,13 @@ RDEPEND=" DEPEND="dev-libs/libxslt doc? ( app-doc/doxygen ) - python? ( ${PYTHON_DEPS} ) virtual/pkgconfig + ${PYTHON_DEPS} ${RDEPEND} " -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} test? ( python )" WAF_BINARY="${S}/buildtools/bin/waf" @@ -53,7 +54,8 @@ pkg_setup() { # Package fails to build with distcc export DISTCC_DISABLE=1 - use python && python-single-r1_pkg_setup + # waf requires a python interpreter + python-single-r1_pkg_setup } src_prepare() { |