commit:     56e7435cd1acfdbaaea2103c574789c513fef777
Author:     Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 18 10:46:19 2022 +0000
Commit:     Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Sun Dec 18 11:11:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56e7435c

app-crypt/mkp224o: rename pcre2 use flag to pcre

Bug: https://bugs.gentoo.org/886541
Closes: https://github.com/gentoo/gentoo/pull/28701
Acked-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>

 app-crypt/mkp224o/metadata.xml                                      | 2 +-
 app-crypt/mkp224o/{mkp224o-1.6.1.ebuild => mkp224o-1.6.1-r1.ebuild} | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-crypt/mkp224o/metadata.xml b/app-crypt/mkp224o/metadata.xml
index e9ab26926571..a6dc6944c619 100644
--- a/app-crypt/mkp224o/metadata.xml
+++ b/app-crypt/mkp224o/metadata.xml
@@ -6,7 +6,7 @@
     <name>Matthew Smith</name>
   </maintainer>
   <use>
-    <flag name="pcre2">Search with a regex instead of prefix/suffix 
matching</flag>
+    <flag name="pcre">Search with a regex instead of prefix/suffix 
matching</flag>
   </use>
   <upstream>
     <remote-id type="github">cathugger/mkp224o</remote-id>

diff --git a/app-crypt/mkp224o/mkp224o-1.6.1.ebuild 
b/app-crypt/mkp224o/mkp224o-1.6.1-r1.ebuild
similarity index 87%
rename from app-crypt/mkp224o/mkp224o-1.6.1.ebuild
rename to app-crypt/mkp224o/mkp224o-1.6.1-r1.ebuild
index bde686797b7b..1185aeba051a 100644
--- a/app-crypt/mkp224o/mkp224o-1.6.1.ebuild
+++ b/app-crypt/mkp224o/mkp224o-1.6.1-r1.ebuild
@@ -10,11 +10,11 @@ 
SRC_URI="https://github.com/cathugger/${PN}/releases/download/v${PV}/${PN}-${PV}
 LICENSE="CC0-1.0"
 SLOT="0"
 KEYWORDS="amd64"
-IUSE="cpu_flags_x86_sse2 pcre2"
+IUSE="cpu_flags_x86_sse2 pcre"
 
 DEPEND="
        dev-libs/libsodium:=
-       pcre2? ( dev-libs/libpcre2:= )
+       pcre? ( dev-libs/libpcre2:= )
 "
 RDEPEND="${DEPEND}"
 
@@ -22,7 +22,7 @@ DOCS=( OPTIMISATION.txt README.md )
 
 src_configure() {
        local myeconfargs=(
-               --enable-regex=$(usex pcre2)
+               --enable-regex=$(usex pcre)
                --enable-statistics
        )
        use cpu_flags_x86_sse2 && myeconfargs+=( --enable-donna-sse2 )

Reply via email to