Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Nils Freydank <holgersson@posteo.de>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
EAPI=7
-if [[ ${PV} == 9999 ]]; then
+if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://gitlab.com/mdds/mdds.git"
inherit git-r3
else
LICENSE="MIT"
SLOT="1/${PV%.*}"
-IUSE="doc valgrind"
+IUSE="doc valgrind test"
+RESTRICT="!test? ( test )"
BDEPEND="
doc? (
DEPEND="dev-libs/boost:="
RDEPEND="${DEPEND}"
-PATCHES=( "${FILESDIR}/${PN}-1.4.3-buildsystem.patch" )
+PATCHES=( "${FILESDIR}/${PN}-1.5.0-buildsystem.patch" )
src_prepare() {
default
+
eautoreconf
}
src_configure() {
- econf \
- $(use_enable doc docs) \
+ local myeconfargs=(
+ $(use_enable doc docs)
$(use_enable valgrind memory_tests)
+ )
+ econf "${myeconfargs[@]}"
}
-src_compile() { :; }
-
src_test() {
tc-export CXX
+
default
}