diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2026-11-04 14:22:51 +0000 |
|---|---|---|
| committer | Älven <alven@FreeBSD.org> | 2026-11-04 14:48:07 +0000 |
| commit | 4e2714b8a27535ed31cdffca498caebd8d230d32 (patch) | |
| tree | c6b6c07c838b5d2a154e302a194ff4f03fdb078f | |
| parent | 88d5dfcc9fcb88acd29760a4228853e12dcb1a60 (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
(cherry picked from commit 7cc5a636bd2a8736305b4dd1701888632d458a00)
| -rw-r--r-- | www/gitea/Makefile | 4 |
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} |
