diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-25 17:37:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-25 17:37:52 +0000 |
commit | 2f51c9978dda4c6e8debca43e4235ecc86914032 (patch) | |
tree | bc41e1c4383040034174c327504f702c8517a123 /dev-embedded/libftdi/libftdi-1.2-r2.ebuild | |
parent | 51536d2fe4697ba9114d611178bb9e20d3d5b729 (diff) |
gentoo resync : 25.12.2017
Diffstat (limited to 'dev-embedded/libftdi/libftdi-1.2-r2.ebuild')
-rw-r--r-- | dev-embedded/libftdi/libftdi-1.2-r2.ebuild | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/dev-embedded/libftdi/libftdi-1.2-r2.ebuild b/dev-embedded/libftdi/libftdi-1.2-r2.ebuild index c52061be670e..e35ae39feab1 100644 --- a/dev-embedded/libftdi/libftdi-1.2-r2.ebuild +++ b/dev-embedded/libftdi/libftdi-1.2-r2.ebuild @@ -21,6 +21,7 @@ HOMEPAGE="http://www.intra2net.com/en/developer/libftdi/" LICENSE="LGPL-2" SLOT="1" IUSE="cxx doc examples python static-libs test tools" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RDEPEND="virtual/libusb:1 cxx? ( dev-libs/boost ) @@ -33,8 +34,6 @@ DEPEND="${RDEPEND} python? ( dev-lang/swig ) doc? ( app-doc/doxygen )" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - pkg_setup() { use python && python-single-r1_pkg_setup } @@ -42,7 +41,7 @@ pkg_setup() { S=${WORKDIR}/${MY_P} src_configure() { - mycmakeargs=( + local mycmakeargs=( -DFTDIPP=$(usex cxx) -DDOCUMENTATION=$(usex doc) -DEXAMPLES=$(usex examples) |