Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Mar 2025 10:30:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 285159] [NEW PORT] java/jextract: generate bindings from native libraries
Message-ID:  <bug-285159-7788-rBt14X1bSg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-285159-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-285159-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285159

--- Comment #10 from Benjamin Takacs <nimaje+fbz@bureaucracy.de> ---
(In reply to Igor Kolesnik from comment #9)

Is it possible to instruct it to use
${LLVM_PREFIX}/lib/clang/${LLVM_VERSION}/include for those headers instead =
of
copying them?

Maybe by using the -I flag in the starter script?

for the starter script itself, it would probably use SUB_FILES and SUB_LIST=
[0]
and  look something like

#!/bin/sh
%%JAVA%% -Djava.library.path=3D%%LLVM_PREFIX%% --module-path <path to
org.openjdk.jextract.jar> -m
org.openjdk.jextract/org.openjdk.jextract.JextractTool <maybe -I for clang
headers> "$@"

with the file itself in SUB_FILES and JAVA, LLVM_PREFIX and whatever else is
needed in SUB_LIST, so that those variables get replaced when the port is
build.

[0]:
https://docs.freebsd.org/en/books/porters-handbook/pkg-files/#using-sub-fil=
es

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-285159-7788-rBt14X1bSg>