From: Andreas Sturmlechner Date: Mon, 9 Oct 2017 20:12:31 +0000 (+0200) Subject: media-libs/libfreehand: Add missing tests handling X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=b88c4ffa968778080a39fe0bd5aae12779116a45;p=gentoo.git media-libs/libfreehand: Add missing tests handling Reported-by: jorgicio Gentoo-bug: 633806 Package-Manager: Portage-2.3.11, Repoman-2.3.3 --- diff --git a/media-libs/libfreehand/libfreehand-0.1.2.ebuild b/media-libs/libfreehand/libfreehand-0.1.2.ebuild index 3ce6e903de14..c2a85de892e6 100644 --- a/media-libs/libfreehand/libfreehand-0.1.2.ebuild +++ b/media-libs/libfreehand/libfreehand-0.1.2.ebuild @@ -14,7 +14,7 @@ LICENSE="MPL-2.0" SLOT="0" [[ ${PV} == 9999 ]] || \ KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="doc static-libs" +IUSE="doc static-libs test" RDEPEND=" dev-libs/librevenge @@ -27,6 +27,7 @@ DEPEND="${RDEPEND} sys-devel/libtool virtual/pkgconfig doc? ( app-doc/doxygen ) + test? ( dev-util/cppunit ) " src_prepare() { @@ -39,7 +40,8 @@ src_configure() { econf \ --disable-werror \ $(use_with doc docs) \ - $(use_enable static-libs static) + $(use_enable static-libs static) \ + $(use_enable test tests) } src_install() { diff --git a/media-libs/libfreehand/libfreehand-9999.ebuild b/media-libs/libfreehand/libfreehand-9999.ebuild index 3ce6e903de14..c2a85de892e6 100644 --- a/media-libs/libfreehand/libfreehand-9999.ebuild +++ b/media-libs/libfreehand/libfreehand-9999.ebuild @@ -14,7 +14,7 @@ LICENSE="MPL-2.0" SLOT="0" [[ ${PV} == 9999 ]] || \ KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="doc static-libs" +IUSE="doc static-libs test" RDEPEND=" dev-libs/librevenge @@ -27,6 +27,7 @@ DEPEND="${RDEPEND} sys-devel/libtool virtual/pkgconfig doc? ( app-doc/doxygen ) + test? ( dev-util/cppunit ) " src_prepare() { @@ -39,7 +40,8 @@ src_configure() { econf \ --disable-werror \ $(use_with doc docs) \ - $(use_enable static-libs static) + $(use_enable static-libs static) \ + $(use_enable test tests) } src_install() {