Bug 278030 - devel/venom: Build plugins
Summary: devel/venom: Build plugins
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Baptiste Daroussin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-29 15:04 UTC by Yonas Yanfa
Modified: 2024-03-29 18:32 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (bapt)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yonas Yanfa 2024-03-29 15:04:01 UTC
This might not be correct, but something like this:

pre-build / post-build:
       cd ${WORKSRC}/executors/plugins
       ${LN} -s ../* .
       go mod vendor
       ${GMAKE} build
       ${GMAKE} dist
       ${MKDIR} -p dist/lib
       ${MV} executors/plugins/dist/lib/* dist/lib

updated plist, unless the plugins are statically linked into the single binary.
Comment 1 Baptiste Daroussin freebsd_committer freebsd_triage 2024-03-29 16:34:35 UTC
Do you see any real value into building the plugins ? they are more there as an example.
Comment 2 Yonas Yanfa 2024-03-29 18:31:40 UTC
(In reply to Baptiste Daroussin from comment #1)

That's fair.