summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2025-06-30 01:20:45 +0200
committerJimmy Olgeni <olgeni@FreeBSD.org>2025-06-30 01:21:46 +0200
commit4b4a609ce0260d86cccdab5077eac4958e58c44d (patch)
treea5ad484d180c058ac7ea6dc4c6a9923f4a57c700 /www
parentdevel/bsddialog: Update to 1.0.5 (diff)
www/xcaddy: Fix hardcoded go command
Replace hardcoded "go" command with ${GO_CMD} to properly use the correct Go version from the ports framework. PR: 287907
Diffstat (limited to 'www')
-rw-r--r--www/xcaddy/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/xcaddy/Makefile b/www/xcaddy/Makefile
index d47e313cec4d..b177dc300c54 100644
--- a/www/xcaddy/Makefile
+++ b/www/xcaddy/Makefile
@@ -1,6 +1,7 @@
PORTNAME= xcaddy
DISTVERSIONPREFIX= v
DISTVERSION= 0.4.4
+PORTREVISION= 1
CATEGORIES= www
DIST_SUBDIR= xcaddy
@@ -20,4 +21,8 @@ SUB_FILES= pkg-message
PLIST_FILES= bin/${PORTNAME}
+post-patch:
+ ${REINPLACE_CMD} 's,return "go",return "${GO_CMD}",g' \
+ ${WRKSRC}/internal/utils/environment.go
+
.include <bsd.port.mk>