Bug 276885

Summary: www/gitea: Add extra config option
Product: Ports & Packages Reporter: Rudolph <rudolphfroger>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Open ---    
Severity: Affects Only Me CC: lwhsu, stb
Priority: --- Flags: stb: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch to add extra compile option to www/gitea none

Description Rudolph 2024-02-08 07:35:11 UTC
Created attachment 248250 [details]
Patch to add extra compile option to www/gitea

With the attached patch the www/gitea port will support all current compile options of www/gitea. The possible options are documented here: https://docs.gitea.com/next/installation/install-from-source#build.
Comment 1 Li-Wen Hsu freebsd_committer freebsd_triage 2024-04-02 12:45:10 UTC
Is this also applicable to www/forgejo ?
Comment 2 Rudolph 2024-04-02 16:16:12 UTC
I assume it also applies to Forgejo, but I didn't test that yet
Comment 3 Rudolph 2024-04-02 16:35:39 UTC
I just tried to compile the Forgejo port and it works with the same patch. Afterwards I can confirm that gogit was used:

```
$ forgejo --version
Forgejo version 1.21.7-0 built with GNU Make 4.4.1, go1.21.8 : bindata, gogit, pam, sqlite, sqlite_unlock_notify
```