I maintain www/gitea, and with the newest release, the build has been changed 
from a mostly pure Go build to a more complex setup using gmake, and including 
some npm-based toolchain to build CSS and JS.

Right now, changing the port from USES=go:modules to USES=gmake runs into a 
compilation/linking error:

  flag provided but not defined: -fstack-protector-strong
  usage: link [options] main.o
    -B note
        add an ELF NT_GNU_BUILD_ID note when using ELF
    -E entry
        set entry symbol name

The flag -fstack-protector-strong is not part of the Gitea code, but seems to 
come from the ports system. I'm having a hard time finding a build switch that 
prints the gmake command that is actually invoked, and information on how to 
customize that.

The second issue is that npm install is invoked, which will most likely prevent 
the port to be built as a package. Is there a way to handle the download of the 
package-lock.json dependencies in the fetch stage?


Stefan

--
Stefan Bethke <s...@lassitu.de>   Fon +49 151 14070811

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to