volk: rename use flag

This commit is contained in:
blshkv 2020-05-24 13:08:11 +08:00
parent 03ae8dae7f
commit f8f85c9701
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 13 additions and 2 deletions

View file

@ -15,3 +15,6 @@ sci-electronics/litescope
#required by app-forensics/eagleeye deps
~sci-libs/dlib-19.16
#required by gnuradio
sci-libs/volk

View file

@ -11,8 +11,8 @@ SRC_URI="https://github.com/gnuradio/volk/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE=""
KEYWORDS="~amd64 ~x86"
IUSE="+lang_orc"
RDEPEND="dev-libs/boost"
DEPEND="${RDEPEND}
@ -21,3 +21,11 @@ DEPEND="${RDEPEND}
dev-lang/orc"
CMAKE_BUILD_TYPE=Release
src_configure() {
local mycmakeargs=(
#orc is a global variable
-DENABLE_ORC=$(usex lang_orc)
)
cmake-utils_src_configure
}