mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-cpp/libcmis: unrestrict tests
Tests in the past were automagic based on whether dev-util/cppcheck was installed. That's long-fixed since 0.5.2 which moves that into a separate target. Unfortunately, filtering LTO for now though as we can't test it effectively b/c of ODR issues in tests. Bug: https://github.com/tdf/libcmis/issues/12 Bug: https://bugs.gentoo.org/577926 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -10,7 +10,7 @@ else
|
||||
SRC_URI="https://github.com/tdf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
inherit autotools
|
||||
inherit autotools flag-o-matic
|
||||
|
||||
DESCRIPTION="C++ client library for the CMIS interface"
|
||||
HOMEPAGE="https://github.com/tdf/libcmis"
|
||||
@@ -18,15 +18,15 @@ HOMEPAGE="https://github.com/tdf/libcmis"
|
||||
LICENSE="|| ( GPL-2 LGPL-2 MPL-1.1 )"
|
||||
SLOT="0/0.6"
|
||||
IUSE="man test tools"
|
||||
|
||||
RESTRICT="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/boost:=
|
||||
dev-libs/libxml2:=
|
||||
net-misc/curl
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
!dev-cpp/libcmis:0.5
|
||||
"
|
||||
BDEPEND="
|
||||
@@ -54,6 +54,9 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# ODR issues in tests w/ curl
|
||||
filter-lto
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-werror
|
||||
$(use_with man)
|
||||
|
||||
@@ -10,7 +10,7 @@ else
|
||||
SRC_URI="https://github.com/tdf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
inherit autotools
|
||||
inherit autotools flag-o-matic
|
||||
|
||||
DESCRIPTION="C++ client library for the CMIS interface"
|
||||
HOMEPAGE="https://github.com/tdf/libcmis"
|
||||
@@ -18,15 +18,15 @@ HOMEPAGE="https://github.com/tdf/libcmis"
|
||||
LICENSE="|| ( GPL-2 LGPL-2 MPL-1.1 )"
|
||||
SLOT="0/0.6"
|
||||
IUSE="man test tools"
|
||||
|
||||
RESTRICT="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/boost:=
|
||||
dev-libs/libxml2:=
|
||||
net-misc/curl
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
!dev-cpp/libcmis:0.5
|
||||
"
|
||||
BDEPEND="
|
||||
@@ -47,6 +47,9 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# ODR issues in tests w/ curl
|
||||
filter-lto
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-werror
|
||||
$(use_with man)
|
||||
|
||||
Reference in New Issue
Block a user