Date: Sun, 23 Jun 2019 11:50:42 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r504942 - head/Mk/Uses Message-ID: <201906231150.x5NBogHb020998@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Sun Jun 23 11:50:41 2019 New Revision: 504942 URL: https://svnweb.freebsd.org/changeset/ports/504942 Log: Mk/Uses/go.mk: Allow overriding the Go port This is intended to be used for regression testing of USES=go ports with lang/go-devel. Submitted by: dg@syrec.org Differential Revision: https://reviews.freebsd.org/D20570 Modified: head/Mk/Uses/go.mk Modified: head/Mk/Uses/go.mk ============================================================================== --- head/Mk/Uses/go.mk Sun Jun 23 11:38:44 2019 (r504941) +++ head/Mk/Uses/go.mk Sun Jun 23 11:50:41 2019 (r504942) @@ -36,6 +36,12 @@ # GO_BUILDFLAGS # Additional build arguments to be passed to the `go install` command # +# GO_PORT +# The Go port to use. By default this is lang/go but can be set +# to lang/go-devel in make.conf for testing with future Go versions. +# +# This variable should not be set by individual ports! +# # MAINTAINER: jlaffaye@FreeBSD.org .if !defined(_INCLUDE_USES_GO_MK) @@ -83,7 +89,8 @@ GO_ENV+= GOPATH="${WRKDIR}" \ GOBIN="" .endif -BUILD_DEPENDS+= ${GO_CMD}:lang/go +GO_PORT?= lang/go +BUILD_DEPENDS+= ${GO_CMD}:${GO_PORT} PLIST_SUB+= GO_PKGNAME=${GO_PKGNAME} _USES_POST+= go
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906231150.x5NBogHb020998>