From owner-svn-ports-all@freebsd.org Sun Jun 23 11:50:42 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E03B215CE5B5; Sun, 23 Jun 2019 11:50:42 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8848687789; Sun, 23 Jun 2019 11:50:42 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5CD1D21440; Sun, 23 Jun 2019 11:50:42 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x5NBog7k020999; Sun, 23 Jun 2019 11:50:42 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5NBogHb020998; Sun, 23 Jun 2019 11:50:42 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201906231150.x5NBogHb020998@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sun, 23 Jun 2019 11:50:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r504942 - head/Mk/Uses X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/Mk/Uses X-SVN-Commit-Revision: 504942 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 8848687789 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.973,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jun 2019 11:50:43 -0000 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