mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
tree_sitter, disable static library with Gentoo's patch (#7679)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 764f411a..86aaefd8 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -41,7 +41,7 @@ ifneq (,$(filter $(shell uname),FreeBSD NetBSD DragonFly))
|
||||
PCLIBDIR := $(PREFIX)/libdata/pkgconfig
|
||||
endif
|
||||
|
||||
-all: libtree-sitter.a libtree-sitter.$(SOEXTVER)
|
||||
+all: libtree-sitter.$(SOEXTVER)
|
||||
|
||||
libtree-sitter.a: $(OBJ)
|
||||
$(AR) rcs $@ $^
|
||||
@@ -53,7 +53,6 @@ libtree-sitter.$(SOEXTVER): $(OBJ)
|
||||
|
||||
install: all
|
||||
install -d '$(DESTDIR)$(LIBDIR)'
|
||||
- install -m755 libtree-sitter.a '$(DESTDIR)$(LIBDIR)'/libtree-sitter.a
|
||||
install -m755 libtree-sitter.$(SOEXTVER) '$(DESTDIR)$(LIBDIR)'/libtree-sitter.$(SOEXTVER)
|
||||
ln -sf libtree-sitter.$(SOEXTVER) '$(DESTDIR)$(LIBDIR)'/libtree-sitter.$(SOEXTVER_MAJOR)
|
||||
ln -sf libtree-sitter.$(SOEXTVER) '$(DESTDIR)$(LIBDIR)'/libtree-sitter.$(SOEXT)
|
||||
@@ -3,10 +3,11 @@ DESCRIPTION="Tree-sitter is an extendable parsing system for various programming
|
||||
HOMEPAGE="https://tree-sitter.github.io/"
|
||||
COPYRIGHT="2018-2021 Max Brunsfeld"
|
||||
LICENSE="MIT"
|
||||
REVISION="6"
|
||||
REVISION="7"
|
||||
SOURCE_URI="https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="4d37eaef8a402a385998ff9aca3e1043b4a3bba899bceeff27a7178e1165b9de"
|
||||
SOURCE_DIR="tree-sitter-$portVersion"
|
||||
PATCHES="tree-sitter-No-static-libs-gentoo.patch"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
Reference in New Issue
Block a user