git: eb05293045e5 - main - x11-wm/fvwm3: Add maximum go version
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 19 Mar 2024 21:05:52 UTC
The branch main has been updated by zirias: URL: https://cgit.FreeBSD.org/ports/commit/?id=eb05293045e52147fcb1b756002589b11698ac53 commit eb05293045e52147fcb1b756002589b11698ac53 Author: Felix Palmen <zirias@FreeBSD.org> AuthorDate: 2024-03-19 20:53:11 +0000 Commit: Felix Palmen <zirias@FreeBSD.org> CommitDate: 2024-03-19 21:05:31 +0000 x11-wm/fvwm3: Add maximum go version Respect DEFAULT_VERSIONS unless the selected go version is greater than supported by the upstream configure script. Reported by: kostikbel@gmail.com --- x11-wm/fvwm3/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/x11-wm/fvwm3/Makefile b/x11-wm/fvwm3/Makefile index fbc75ac05b7c..d4582b26e8f7 100644 --- a/x11-wm/fvwm3/Makefile +++ b/x11-wm/fvwm3/Makefile @@ -36,7 +36,10 @@ GO_DESC= Build and install modules written in Go FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_CONFIGURE_ENABLE= bidi -GO_USES= go:no_targets +_GO_MAXVERSION= 1.21 +_GO_VERSIONARG= ${${GO_DEFAULT:S/-devel//:S/.//} > \ + ${_GO_MAXVERSION:S/.//}:?${_GO_MAXVERSION},:} +GO_USES= go:${_GO_VERSIONARG}no_targets GO_CONFIGURE_ENABLE= golang FVWM_ICONS= fvwm_icons-20070101