summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 b588c75116d5..353fcc968938 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 f9ca9b5256c5..38eb00e0832d 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
)