Closes: https://bugs.gentoo.org/685618
Closes: https://bugs.gentoo.org/691384
Closes: https://bugs.gentoo.org/696856
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
PYTHON_COMPAT=( python2_7 )
-inherit cmake-utils python-r1
+inherit cmake-utils python-r1 flag-o-matic
DESCRIPTION="High-performance regular expression matching library"
SRC_URI="https://github.com/01org/hyperscan/archive/v${PV}.tar.gz -> ${P}.tar.gz"
REQUIRED_USE="cpu_flags_x86_ssse3 ${PYTHON_REQUIRED_USE}"
+src_prepare() {
+ # upstream workaround
+ append-cxxflags -Wno-redundant-move
+ cmake-utils_src_prepare
+}
+
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=$(usex static-libs OFF ON)
PYTHON_COMPAT=( python2_7 )
-inherit cmake-utils python-r1
+inherit cmake-utils python-r1 flag-o-matic
DESCRIPTION="High-performance regular expression matching library"
SRC_URI="https://github.com/01org/hyperscan/archive/v${PV}.tar.gz -> ${P}.tar.gz"
REQUIRED_USE="cpu_flags_x86_ssse3 ${PYTHON_REQUIRED_USE}"
+src_prepare() {
+ # upstream workaround
+ append-cxxflags -Wno-redundant-move
+ cmake-utils_src_prepare
+}
+
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=$(usex static-libs OFF ON)