From 8d52ad92d1f235df75d0b8bea844b8de6daad523 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 24 Jun 2016 03:46:12 -0400 Subject: [PATCH] dev-embedded/libftdi: disable building of tests when USE=-test --- dev-embedded/libftdi/libftdi-1.2.ebuild | 3 ++- dev-embedded/libftdi/libftdi-9999.ebuild | 3 ++- 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 b588c75116d5e..353fcc9689389 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 f9ca9b5256c5e..38eb00e0832da 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 )