summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2018-11-14 08:56:24 +0100
committerGuilherme Amadio <amadio@gentoo.org>2018-11-15 14:41:49 +0100
commitac6add5639a3da1767cad32c022c2eeb2a02f1fc (patch)
tree70f16131b276da0e174647a1c53a549882b71ca4 /net-libs
parentprofiles: prefixify dynamic linker used by sys-devel/clang (diff)
downloadgentoo-ac6add5639a3da1767cad32c022c2eeb2a02f1fc.tar.gz
gentoo-ac6add5639a3da1767cad32c022c2eeb2a02f1fc.tar.bz2
gentoo-ac6add5639a3da1767cad32c022c2eeb2a02f1fc.zip
net-libs/davix: version bump to 0.7.1
Drop version 0.6.8 and skip version 0.6.9 due to known issues. See https://sft.its.cern.ch/jira/browse/ROOT-9730 for more info. Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/davix/Manifest2
-rw-r--r--net-libs/davix/davix-0.7.1.ebuild (renamed from net-libs/davix/davix-0.6.8.ebuild)17
2 files changed, 16 insertions, 3 deletions
diff --git a/net-libs/davix/Manifest b/net-libs/davix/Manifest
index a7a885c0cfcf..267666160a2c 100644
--- a/net-libs/davix/Manifest
+++ b/net-libs/davix/Manifest
@@ -1,2 +1,2 @@
DIST davix-0.6.7.tar 3346429 BLAKE2B 7510c628cd1d346ed5f4dca6100207e5e2efa3a98d0caf63dbe3ba39f58a9b11c330c95cd2d40d60d8f2497355d4cb2f2d7537babfef287a5905f32322363d90 SHA512 5cb830e415a4ab87b7b046fbd8ba615379766f4fa4b886a271b0c248c05968b9a3cb144751b44d5fd62f5e07bdb7610c0505e44f2702147f6f006b49a4b3d8ce
-DIST davix-0.6.8.tar 3461829 BLAKE2B 96e23b3d099262b577a078aad9c6ac3adb6a0ab5dd410573a1886a886f828e46af2d6df9904236ae9f1aff5c75e7bec93c81e02bd173d67a13e9f9bfce3225c1 SHA512 7c0e2a427b2a9ad807d104e8ada732a6e806818e0b7b53caf965ce6238637e4c6f5c67e56e7ef89a23004531c62bc1ba6cb7ce1dd0d1aefdc46bdd7b8c48c9c4
+DIST davix-0.7.1.tar 4336124 BLAKE2B 5db4f8f03fef38feedb0f0a9dfce763ff53ba9b1aa19d09f0af979e111d9f52226222e7b00e48aa3589070e9bf857e000f297d1a162aac83fe877ce3cd2984e1 SHA512 a4408960c4e16011de5e6cea1470d7fa487fd0b9c462082d8fb800bcaa812cab10a92643c9eeb66dda506d177903917176e6310c2a10042a848a52b858f4eb4e
diff --git a/net-libs/davix/davix-0.6.8.ebuild b/net-libs/davix/davix-0.7.1.ebuild
index 943d50f9fb95..b6b1dbf9c82f 100644
--- a/net-libs/davix/davix-0.6.8.ebuild
+++ b/net-libs/davix/davix-0.7.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -32,6 +32,16 @@ RDEPEND="${CDEPEND}"
REQUIRED_USE="test? ( tools )"
+src_prepare() {
+ cmake-utils_src_prepare
+
+ for x in doc test; do
+ if ! use $x; then
+ sed -i -e "/add_subdirectory ($x)/d" CMakeLists.txt
+ fi
+ done
+}
+
src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
@@ -44,7 +54,6 @@ src_configure() {
-DSTATIC_LIBRARY=OFF
-DSYSCONF_INSTALL_DIR="${EPREFIX}/etc"
-DBUILD_TESTING=$(usex test)
- -DUNIT_TESTS=$(usex test)
)
cmake-utils_src_configure
}
@@ -62,4 +71,8 @@ src_install() {
if ! use tools; then
rm -rf "${ED}/usr/share/man/man1"
fi
+
+ if use test; then
+ rm -rf "${ED}/usr/bin/davix-unit-tests"
+ fi
}