summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/tree-sitter/tree-sitter-0.20.6.ebuild')
-rw-r--r--dev-libs/tree-sitter/tree-sitter-0.20.6.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-libs/tree-sitter/tree-sitter-0.20.6.ebuild b/dev-libs/tree-sitter/tree-sitter-0.20.6.ebuild
index 4f1245a5a53f..504f4a768bd8 100644
--- a/dev-libs/tree-sitter/tree-sitter-0.20.6.ebuild
+++ b/dev-libs/tree-sitter/tree-sitter-0.20.6.ebuild
@@ -25,6 +25,12 @@ src_prepare() {
tc-export CC
}
+src_compile() {
+ emake \
+ PREFIX="${EPREFIX}/usr" \
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+}
+
src_install() {
emake DESTDIR="${D}" \
PREFIX="${EPREFIX}/usr" \