pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

diffsitter: make it find grammars in default path



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Wed Jan 18 11:13:03 2023 +0100
Changeset:	8cbb1a06efd4a6cc087482aa63d438028718933f

Modified Files:
	diffsitter/Makefile

Log Message:
diffsitter: make it find grammars in default path

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8cbb1a06efd4a6cc087482aa63d438028718933f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 diffsitter/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diffs:
diff --git a/diffsitter/Makefile b/diffsitter/Makefile
index 084b6c0161..b79d3f26b8 100644
--- a/diffsitter/Makefile
+++ b/diffsitter/Makefile
@@ -10,6 +10,9 @@ HOMEPAGE=	https://github.com/afnanenayet/diffsitter/
 COMMENT=	Tree-sitter based AST difftool to get meaningful semantic diffs
 LICENSE=	mit
 
+# so it finds the grammar files
+RUSTFLAGS+=	-C link-arg=${COMPILER_RPATH_FLAG}${PREFIX}/lib
+
 .include "cargo-depends.mk"
 
 USE_LANGUAGES+=			c c++


Home | Main Index | Thread Index | Old Index