summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Misbakh-Soloviov <mva@gentoo.org>2023-04-16 22:11:39 +0700
committerVadim Misbakh-Soloviov <mva@gentoo.org>2023-04-16 22:30:00 +0700
commit0bbf0b6b62190421ecf524686a1986b98dc0a959 (patch)
tree6285d90e11c34fdaaa3c12c9030405bfce8eaa6d /dev-libs/tree-sitter
parentRevert "dev-libs/tree-sitter: fix warnings" (diff)
downloadgentoo-0bbf0b6b62190421ecf524686a1986b98dc0a959.tar.gz
gentoo-0bbf0b6b62190421ecf524686a1986b98dc0a959.tar.bz2
gentoo-0bbf0b6b62190421ecf524686a1986b98dc0a959.zip
dev-libs/tree-sitter: adjust upstream version mismatch in QA_PKGCONFIG_VERSION
- Upstream tried to fix previous version mismatch, with "0.6.3" instead of real version, but ocasionally messed up with number again. Let's keep an eye on it and hope they'll be luck on next release. - Also this fixes indentation in src_install (removed redundant spaces) Closes: https://bugs.gentoo.org/903866 Signed-off-by: Vadim Misbakh-Soloviov <mva@gentoo.org>
Diffstat (limited to 'dev-libs/tree-sitter')
-rw-r--r--dev-libs/tree-sitter/tree-sitter-0.20.8.ebuild15
1 files changed, 10 insertions, 5 deletions
diff --git a/dev-libs/tree-sitter/tree-sitter-0.20.8.ebuild b/dev-libs/tree-sitter/tree-sitter-0.20.8.ebuild
index 9ced4782ca5c..689bc0e731a3 100644
--- a/dev-libs/tree-sitter/tree-sitter-0.20.8.ebuild
+++ b/dev-libs/tree-sitter/tree-sitter-0.20.8.ebuild
@@ -20,8 +20,13 @@ SLOT="0"
PATCHES=( "${FILESDIR}/${PN}-No-static-libs-gentoo.patch" )
-# see Makefile:1
-QA_PKGCONFIG_VERSION="0.6.3"
+# see Makefile:1
+QA_PKGCONFIG_VERSION="0.20.9"
+
+# XXX: Please, don't forget to check this on next version bump.
+# And, maybe remove as non-needed, if version in Makefile will
+# match the release.
+# ref: https://github.com/tree-sitter/tree-sitter/issues/2210
src_prepare() {
default
@@ -36,9 +41,9 @@ src_compile() {
src_install() {
emake DESTDIR="${D}" \
- PREFIX="${EPREFIX}/usr" \
- LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
- install
+ PREFIX="${EPREFIX}/usr" \
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+ install
}
pkg_postinst() {