aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2026-11-04 14:22:51 +0000
committerÄlven <alven@FreeBSD.org>2026-11-04 14:45:00 +0000
commit7cc5a636bd2a8736305b4dd1701888632d458a00 (patch)
treeab3d33635126ad3d0756b3d8fbaeff6c58cf19b6
parentabd0e946dbfe18c380656d15d7886a97ce2c6473 (diff)
www/gitea: Fix building by pinning Go to 1.27+
* Gitea requires Go 1.27, but the 2026Q4 tree still defaults to 1.26. This can safely be committed to main as well. * While here, mark as PIE_UNSAFE (as build WITH_PIE) fails. (by alven@) Reported by: Patrick M. Hausen <hausen@punkt.de> (by email) Approved by: portmgr@ (blanket, build fix) MFH: 2026Q4
-rw-r--r--www/gitea/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/gitea/Makefile b/www/gitea/Makefile
index be72710bda8a..f219c914daa2 100644
--- a/www/gitea/Makefile
+++ b/www/gitea/Makefile
@@ -15,9 +15,11 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= git:devel/git
-USES= cpe gmake go:no_targets
+USES= cpe gmake go:1.27+,no_targets
USE_RC_SUBR= gitea
+PIE_UNSAFE= yes
+
EXTRACT_AFTER_ARGS= --strip-components 1 # since 1.17.0, archive includes gitea-src-VERSION directory
SUB_FILES+= app.ini.sample pkg-message
SUB_LIST+= GITUSER=${USERS}