libebook-0.1.2-tests.patch 784 B

12345678910111213141516171819202122232425262728
  1. From 263d95ce191421a51d4b2d088297700032a8987b Mon Sep 17 00:00:00 2001
  2. From: eroen <eroen@occam.eroen.eu>
  3. Date: Mon, 19 Dec 2016 19:53:15 +0100
  4. Subject: [PATCH] Check for librevenge-stream if tests are enabled
  5. X-Gentoo-Bug: 603098
  6. X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=603098
  7. ---
  8. configure.ac | 2 ++
  9. 1 file changed, 2 insertions(+)
  10. diff --git a/configure.ac b/configure.ac
  11. index 6e00ed5..ecbd14b 100644
  12. --- a/configure.ac
  13. +++ b/configure.ac
  14. @@ -357,6 +357,8 @@ AS_IF([test "x$with_tools" = "xyes"],[
  15. PKG_CHECK_MODULES([REVENGE_GENERATORS],[
  16. librevenge-generators-0.0
  17. ])
  18. +])
  19. +AS_IF([test "x$with_tools" = "xyes" || test "x$enable_tests" = "xyes"],[
  20. PKG_CHECK_MODULES([REVENGE_STREAM],[
  21. librevenge-stream-0.0
  22. ])
  23. --
  24. 2.11.0