dev-cpp/vectorwrapper: add missing dep

fails in configure phase if USE="test" without this dep

also, add RESTRICT="!test? ( test )"
to only run tests if both FEATURES="test" *and* USE="test"

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2020-05-05 13:48:05 +02:00
parent 56c49631e8
commit 9ed5ceb2cc
2 changed files with 12 additions and 6 deletions

View File

@@ -19,10 +19,13 @@ fi
LICENSE="Apache-2.0"
SLOT="0"
IUSE="test"
DEPEND=""
RDEPEND="${DEPEND}"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
test? ( dev-cpp/gtest )"
BDEPEND=""
src_configure() {

View File

@@ -19,10 +19,13 @@ fi
LICENSE="Apache-2.0"
SLOT="0"
IUSE="test"
DEPEND=""
RDEPEND="${DEPEND}"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
test? ( dev-cpp/gtest )"
BDEPEND=""
src_configure() {