diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-06-24 03:46:12 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-06-24 03:46:12 -0400 |
commit | 8d52ad92d1f235df75d0b8bea844b8de6daad523 (patch) | |
tree | 91db54fa993c948e3aa9bbe5ce7395f55a01268a /dev-embedded/libftdi | |
parent | sci-geosciences/merkaartor: remove unnecessary boost dep bug #586836 (diff) | |
download | gentoo-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/libftdi')
-rw-r--r-- | dev-embedded/libftdi/libftdi-1.2.ebuild | 3 | ||||
-rw-r--r-- | 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 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 ) |