summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-10-09 22:12:31 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-10-09 22:12:53 +0200
commitb88c4ffa968778080a39fe0bd5aae12779116a45 (patch)
treea9cf106fed10eac877b4f363e3854d1862fb3b03 /media-libs/libfreehand
parentdev-perl/Data-Structure-Util: Bump to version 0.160.0 (diff)
downloadgentoo-b88c4ffa968778080a39fe0bd5aae12779116a45.tar.gz
gentoo-b88c4ffa968778080a39fe0bd5aae12779116a45.tar.bz2
gentoo-b88c4ffa968778080a39fe0bd5aae12779116a45.zip
media-libs/libfreehand: Add missing tests handling
Reported-by: jorgicio <jpizarrocallejas@gmail.com> Gentoo-bug: 633806 Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'media-libs/libfreehand')
-rw-r--r--media-libs/libfreehand/libfreehand-0.1.2.ebuild6
-rw-r--r--media-libs/libfreehand/libfreehand-9999.ebuild6
2 files changed, 8 insertions, 4 deletions
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() {