summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-mathematics/primecount/primecount-7.2-r1.ebuild (renamed from sci-mathematics/primecount/primecount-7.2.ebuild)3
1 files changed, 2 insertions, 1 deletions
diff --git a/sci-mathematics/primecount/primecount-7.2.ebuild b/sci-mathematics/primecount/primecount-7.2-r1.ebuild
index 1e394a48459e..4a994b461a06 100644
--- a/sci-mathematics/primecount/primecount-7.2.ebuild
+++ b/sci-mathematics/primecount/primecount-7.2-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/kimwalisch/${PN}/archive/refs/tags/v${PV}.tar.gz ->
LICENSE="BSD-2"
SLOT="0/7" # subslot is first component of libprimecount.so version
KEYWORDS="~amd64"
-IUSE="+executable openmp test"
+IUSE="cpu_flags_x86_popcnt +executable openmp test"
RESTRICT="!test? ( test )"
DEPEND="sci-mathematics/primesieve:="
@@ -42,6 +42,7 @@ src_configure() {
-DBUILD_STATIC_LIBS="OFF"
-DBUILD_TESTS="$(usex test)"
-DWITH_OPENMP="$(usex openmp)"
+ -DWITH_POPCNT="$(usex cpu_flags_x86_popcnt)"
)
cmake_src_configure