summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-12-28 08:21:40 +0000
committerSam James <sam@gentoo.org>2020-12-28 08:21:40 +0000
commitab044e72b5904e011d12596d75fb848dcc480a72 (patch)
tree1bdd5527c8318196d704103ebbfc5a8e22ce7785 /dev-embedded
parentdev-python/lxml: Stabilize 4.6.2-r1 arm, #761888 (diff)
downloadgentoo-ab044e72b5904e011d12596d75fb848dcc480a72.tar.gz
gentoo-ab044e72b5904e011d12596d75fb848dcc480a72.tar.bz2
gentoo-ab044e72b5904e011d12596d75fb848dcc480a72.zip
dev-embedded/libftdi: add Boost test dep
Closes: https://bugs.gentoo.org/762166 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/libftdi/libftdi-1.5.ebuild4
-rw-r--r--dev-embedded/libftdi/libftdi-9999.ebuild4
2 files changed, 6 insertions, 2 deletions
diff --git a/dev-embedded/libftdi/libftdi-1.5.ebuild b/dev-embedded/libftdi/libftdi-1.5.ebuild
index c72f2b1eede1..d5d1fe185434 100644
--- a/dev-embedded/libftdi/libftdi-1.5.ebuild
+++ b/dev-embedded/libftdi/libftdi-1.5.ebuild
@@ -36,7 +36,9 @@ RDEPEND="virtual/libusb:1
!<dev-embedded/ftdi_eeprom-1.0
dev-libs/confuse:=
)"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+ test? ( dev-libs/boost )
+"
PATCHES=(
"${FILESDIR}/${P}-tests-no-cxx.patch"
diff --git a/dev-embedded/libftdi/libftdi-9999.ebuild b/dev-embedded/libftdi/libftdi-9999.ebuild
index 6dfa9fe1e483..ac06a98e9188 100644
--- a/dev-embedded/libftdi/libftdi-9999.ebuild
+++ b/dev-embedded/libftdi/libftdi-9999.ebuild
@@ -36,7 +36,9 @@ RDEPEND="virtual/libusb:1
!<dev-embedded/ftdi_eeprom-1.0
dev-libs/confuse:=
)"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+ test? ( dev-libs/boost )
+"
pkg_setup() {
use python && python-single-r1_pkg_setup