1 |
commit: b6514d396ca1023d0a9645965a45424d87d91028 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 1 23:45:37 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 2 00:47:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6514d39 |
7 |
|
8 |
dev-lang/swig: depend on Boost for tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/879047 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
dev-lang/swig/swig-4.1.0.ebuild | 9 ++++++--- |
14 |
1 file changed, 6 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/dev-lang/swig/swig-4.1.0.ebuild b/dev-lang/swig/swig-4.1.0.ebuild |
17 |
index a87f2a77cd6a..76be84b0a4f5 100644 |
18 |
--- a/dev-lang/swig/swig-4.1.0.ebuild |
19 |
+++ b/dev-lang/swig/swig-4.1.0.ebuild |
20 |
@@ -12,14 +12,17 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
21 |
LICENSE="GPL-3+ BSD BSD-2" |
22 |
SLOT="0" |
23 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
24 |
-IUSE="ccache doc pcre" |
25 |
-#RESTRICT="test" |
26 |
+IUSE="ccache doc pcre test" |
27 |
+RESTRICT="!test? ( test )" |
28 |
|
29 |
RDEPEND=" |
30 |
pcre? ( dev-libs/libpcre2 ) |
31 |
ccache? ( sys-libs/zlib ) |
32 |
" |
33 |
-DEPEND="${RDEPEND}" |
34 |
+DEPEND=" |
35 |
+ ${RDEPEND} |
36 |
+ test? ( dev-libs/boost ) |
37 |
+" |
38 |
BDEPEND="virtual/pkgconfig" |
39 |
|
40 |
DOCS=( ANNOUNCE CHANGES CHANGES.current README TODO ) |