summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-11-01 23:45:37 +0000
committerSam James <sam@gentoo.org>2022-11-02 00:47:33 +0000
commitb6514d396ca1023d0a9645965a45424d87d91028 (patch)
tree8dd88cb9416d018984b6d642a249ccca623cc672 /dev-lang/swig
parentdev-util/vulkan-tools: add 1.3.231 (diff)
downloadgentoo-b6514d396ca1023d0a9645965a45424d87d91028.tar.gz
gentoo-b6514d396ca1023d0a9645965a45424d87d91028.tar.bz2
gentoo-b6514d396ca1023d0a9645965a45424d87d91028.zip
dev-lang/swig: depend on Boost for tests
Closes: https://bugs.gentoo.org/879047 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/swig')
-rw-r--r--dev-lang/swig/swig-4.1.0.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-lang/swig/swig-4.1.0.ebuild b/dev-lang/swig/swig-4.1.0.ebuild
index a87f2a77cd6a..76be84b0a4f5 100644
--- a/dev-lang/swig/swig-4.1.0.ebuild
+++ b/dev-lang/swig/swig-4.1.0.ebuild
@@ -12,14 +12,17 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-3+ BSD BSD-2"
SLOT="0"
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"
-IUSE="ccache doc pcre"
-#RESTRICT="test"
+IUSE="ccache doc pcre test"
+RESTRICT="!test? ( test )"
RDEPEND="
pcre? ( dev-libs/libpcre2 )
ccache? ( sys-libs/zlib )
"
-DEPEND="${RDEPEND}"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-libs/boost )
+"
BDEPEND="virtual/pkgconfig"
DOCS=( ANNOUNCE CHANGES CHANGES.current README TODO )