commit: 1e5ea4d7bd02731503da24aff5e46b2f052178da Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Sun Jul 3 10:31:17 2022 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sun Jul 3 10:31:17 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e5ea4d7
dev-libs/link-grammar: always use libpcre2 for regex Closes: https://bugs.gentoo.org/838004 Signed-off-by: David Seifert <soap <AT> gentoo.org> .../{link-grammar-5.10.5.ebuild => link-grammar-5.10.5-r1.ebuild} | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dev-libs/link-grammar/link-grammar-5.10.5.ebuild b/dev-libs/link-grammar/link-grammar-5.10.5-r1.ebuild similarity index 94% rename from dev-libs/link-grammar/link-grammar-5.10.5.ebuild rename to dev-libs/link-grammar/link-grammar-5.10.5-r1.ebuild index 9cd72d301f29..a09907476a00 100644 --- a/dev-libs/link-grammar/link-grammar-5.10.5.ebuild +++ b/dev-libs/link-grammar/link-grammar-5.10.5-r1.ebuild @@ -14,14 +14,14 @@ SRC_URI="https://www.abisource.com/downloads/${PN}/${PV}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0/5" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="aspell +hunspell python" # pcre +IUSE="aspell +hunspell python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" # XXX: sqlite is automagic # Does not build with >=sci-mathematics/minisat-2, bug #593662 -# add pcre support: pcre? ( dev-libs/libpcre ) RDEPEND=" dev-db/sqlite:3 + dev-libs/libpcre2:= aspell? ( app-text/aspell ) hunspell? ( app-text/hunspell ) python? ( ${PYTHON_DEPS} ) @@ -54,13 +54,11 @@ my_src_configure() { # java is hopelessly broken, invokes maven at build time (bug #806157) --disable-java-bindings --disable-perl-bindings - --disable-static --enable-sat-solver=bundled + --with-regexlib=pcre2 $(use_enable aspell) $(use_enable hunspell) $(usev hunspell --with-hunspell-dictdir="${EPREFIX}"/usr/share/myspell) - # $(use_enable pcre regex-tokenizer) - # $(use_with pcre) ) econf \
