commit:     ed742fb850063b9bf6c3c4a72226bfe828f4d26f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 27 16:56:03 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 27 16:56:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed742fb8

app-text/podofo: make cppunit conditional

- Make cppunit conditional (already got a sed for this). Despite the RESTRICT,
  tests were going to get built, just not run, so need it there anyway.
- Drop libidn from DEPEND (USE=idn not on, so just a harmless warning from
  CMake), don't think it's needed unconditionally

Bug: https://bugs.gentoo.org/834129
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/podofo/podofo-0.9.7.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/app-text/podofo/podofo-0.9.7.ebuild 
b/app-text/podofo/podofo-0.9.7.ebuild
index a3cb356d1267..5510e90dad7e 100644
--- a/app-text/podofo/podofo-0.9.7.ebuild
+++ b/app-text/podofo/podofo-0.9.7.ebuild
@@ -29,8 +29,7 @@ RDEPEND="${LUA_DEPS}
        media-libs/tiff:0=
        sys-libs/zlib:="
 DEPEND="${RDEPEND}
-       dev-util/cppunit
-       net-dns/libidn
+       test? ( dev-util/cppunit )
 "
 
 BDEPEND="virtual/pkgconfig

Reply via email to