diff options
Diffstat (limited to 'dev-libs/hyperscan')
-rw-r--r-- | dev-libs/hyperscan/hyperscan-5.1.1.ebuild | 8 | ||||
-rw-r--r-- | dev-libs/hyperscan/hyperscan-5.2.0.ebuild | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/dev-libs/hyperscan/hyperscan-5.1.1.ebuild b/dev-libs/hyperscan/hyperscan-5.1.1.ebuild index 100dba02f5a4..7a0a28063f9f 100644 --- a/dev-libs/hyperscan/hyperscan-5.1.1.ebuild +++ b/dev-libs/hyperscan/hyperscan-5.1.1.ebuild @@ -5,7 +5,7 @@ EAPI=6 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" @@ -24,6 +24,12 @@ DEPEND="${RDEPEND}" 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) diff --git a/dev-libs/hyperscan/hyperscan-5.2.0.ebuild b/dev-libs/hyperscan/hyperscan-5.2.0.ebuild index 100dba02f5a4..7a0a28063f9f 100644 --- a/dev-libs/hyperscan/hyperscan-5.2.0.ebuild +++ b/dev-libs/hyperscan/hyperscan-5.2.0.ebuild @@ -5,7 +5,7 @@ EAPI=6 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" @@ -24,6 +24,12 @@ DEPEND="${RDEPEND}" 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) |