x11-misc/synergy: Fix USE=-test builds

Thanks to Kobboi for reporting!

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-12-29 23:44:58 +01:00
parent 5bb9046dac
commit 235fabdae2

View File

@@ -60,9 +60,6 @@ src_prepare() {
if use test; then
rmdir ext/googletest || die
mv "${WORKDIR}/googletest-${GTEST_COMMIT}" ext/googletest || die
else
[[ ${PV} == 1.12.0 ]] || die "Remove this hack on bump"
> ext/googletest/CMakeLists.txt || die
fi
cmake_src_prepare