diff options
author | David Seifert <soap@gentoo.org> | 2017-12-25 11:24:02 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-12-25 11:42:52 +0100 |
commit | 0e53e7374ad68a0ce6ade031bdbf34294e38d39f (patch) | |
tree | 44fbc18e5bce21a57d27f9ab8a8cfa03e2874408 /dev-embedded/libftdi/libftdi-1.2-r1.ebuild | |
parent | kde-apps/ksmtp: Drop old (diff) | |
download | gentoo-0e53e7374ad68a0ce6ade031bdbf34294e38d39f.tar.gz gentoo-0e53e7374ad68a0ce6ade031bdbf34294e38d39f.tar.bz2 gentoo-0e53e7374ad68a0ce6ade031bdbf34294e38d39f.zip |
dev-embedded/libftdi: [QA] Run cmake-utils_src_prepare
Closes: https://bugs.gentoo.org/640204
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-embedded/libftdi/libftdi-1.2-r1.ebuild')
-rw-r--r-- | dev-embedded/libftdi/libftdi-1.2-r1.ebuild | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-embedded/libftdi/libftdi-1.2-r1.ebuild b/dev-embedded/libftdi/libftdi-1.2-r1.ebuild index 8c4d73cf0ed8..9ca55beeaad6 100644 --- a/dev-embedded/libftdi/libftdi-1.2-r1.ebuild +++ b/dev-embedded/libftdi/libftdi-1.2-r1.ebuild @@ -8,8 +8,8 @@ inherit cmake-utils python-single-r1 MY_P="${PN}1-${PV}" if [[ ${PV} == 9999* ]] ; then + inherit git-r3 EGIT_REPO_URI="git://developer.intra2net.com/${PN}" - inherit git-2 else SRC_URI="http://www.intra2net.com/en/developer/${PN}/download/${MY_P}.tar.bz2" KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 sparc x86" @@ -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) |