Diff davix-0.6.7 with a davix-0.7.3

/usr/portage/net-libs/davix/davix-0.7.3.ebuild 2019-12-11 02:41:00.000000000 +0300
31 31

  
32 32
RDEPEND="${CDEPEND}"
33 33

  
34
PATCHES=(
35
		"${FILESDIR}"/${P}-uio.patch
36
		"${FILESDIR}"/${P}-uuid.patch
37
)
38

  
39 34
REQUIRED_USE="test? ( tools )"
40 35

  
36
src_prepare() {
37
	cmake-utils_src_prepare
38

  
39
	for x in doc test; do
40
		if ! use $x; then
41
			sed -i -e "/add_subdirectory ($x)/d" CMakeLists.txt
42
		fi
43
	done
44
}
45

  
41 46
src_configure() {
42 47
	local mycmakeargs=(
43 48
		-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
......
50 55
		-DSTATIC_LIBRARY=OFF
51 56
		-DSYSCONF_INSTALL_DIR="${EPREFIX}/etc"
52 57
		-DBUILD_TESTING=$(usex test)
53
		-DUNIT_TESTS=$(usex test)
54 58
	)
55 59
	cmake-utils_src_configure
56 60
}
......
68 72
	if ! use tools; then
69 73
		rm -rf "${ED}/usr/share/man/man1"
70 74
	fi
75

  
76
	if use test; then
77
		rm -rf "${ED}/usr/bin/davix-unit-tests"
78
	fi
71 79
}
Thank you!