[Bug 278030] devel/venom: Build plugins

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 29 Mar 2024 15:04:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278030

            Bug ID: 278030
           Summary: devel/venom: Build plugins
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bapt@FreeBSD.org
          Reporter: yonas.yanfa@gmail.com
             Flags: maintainer-feedback?(bapt@FreeBSD.org)
          Assignee: bapt@FreeBSD.org

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.

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