Skip to content

Commit

Permalink
dev-embedded/libftdi: disable building of tests when USE=-test
Browse files Browse the repository at this point in the history
  • Loading branch information
vapier committed Jun 24, 2016
1 parent 22c745a commit 8d52ad9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dev-embedded/libftdi/libftdi-1.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand All @@ -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
)
Expand Down
3 changes: 2 additions & 1 deletion dev-embedded/libftdi/libftdi-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand All @@ -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
)
Expand Down

0 comments on commit 8d52ad9

Please sign in to comment.