summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-06-24 03:46:12 -0400
committerMike Frysinger <vapier@gentoo.org>2016-06-24 03:46:12 -0400
commit8d52ad92d1f235df75d0b8bea844b8de6daad523 (patch)
tree91db54fa993c948e3aa9bbe5ce7395f55a01268a /dev-embedded
parentsci-geosciences/merkaartor: remove unnecessary boost dep bug #586836 (diff)
downloadgentoo-8d52ad92d1f235df75d0b8bea844b8de6daad523.tar.gz
gentoo-8d52ad92d1f235df75d0b8bea844b8de6daad523.tar.bz2
gentoo-8d52ad92d1f235df75d0b8bea844b8de6daad523.zip
dev-embedded/libftdi: disable building of tests when USE=-test
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/libftdi/libftdi-1.2.ebuild3
-rw-r--r--dev-embedded/libftdi/libftdi-9999.ebuild3
2 files changed, 4 insertions, 2 deletions
diff --git a/dev-embedded/libftdi/libftdi-1.2.ebuild b/dev-embedded/libftdi/libftdi-1.2.ebuild
index b588c75116d..353fcc96893 100644
--- a/dev-embedded/libftdi/libftdi-1.2.ebuild
+++ b/dev-embedded/libftdi/libftdi-1.2.ebuild
@@ -20,7 +20,7 @@ HOMEPAGE="http://www.intra2net.com/en/developer/libftdi/"
LICENSE="LGPL-2"
SLOT="1"
-IUSE="cxx doc examples python static-libs tools"
+IUSE="cxx doc examples python static-libs test tools"
RDEPEND="virtual/libusb:1
cxx? ( dev-libs/boost )
@@ -42,6 +42,7 @@ src_configure() {
$(cmake-utils_use examples EXAMPLES)
$(cmake-utils_use python PYTHON_BINDINGS)
$(cmake-utils_use static-libs STATICLIBS)
+ $(cmake-utils_use test BUILD_TESTS)
$(cmake-utils_use tools FTDI_EEPROM)
-DCMAKE_SKIP_BUILD_RPATH=ON
)
diff --git a/dev-embedded/libftdi/libftdi-9999.ebuild b/dev-embedded/libftdi/libftdi-9999.ebuild
index f9ca9b5256c..38eb00e0832 100644
--- a/dev-embedded/libftdi/libftdi-9999.ebuild
+++ b/dev-embedded/libftdi/libftdi-9999.ebuild
@@ -20,7 +20,7 @@ HOMEPAGE="http://www.intra2net.com/en/developer/libftdi/"
LICENSE="LGPL-2"
SLOT="1"
-IUSE="cxx doc examples python static-libs tools"
+IUSE="cxx doc examples python static-libs test tools"
RDEPEND="virtual/libusb:1
cxx? ( dev-libs/boost )
@@ -42,6 +42,7 @@ src_configure() {
$(cmake-utils_use examples EXAMPLES)
$(cmake-utils_use python PYTHON_BINDINGS)
$(cmake-utils_use static-libs STATICLIBS)
+ $(cmake-utils_use test BUILD_TESTS)
$(cmake-utils_use tools FTDI_EEPROM)
-DCMAKE_SKIP_BUILD_RPATH=ON
)