Page MenuHomeFreeBSD

D20570.id.diff
No OneTemporary

D20570.id.diff

Index: head/Mk/Uses/go.mk
===================================================================
--- head/Mk/Uses/go.mk
+++ head/Mk/Uses/go.mk
@@ -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 @@
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

File Metadata

Mime Type
text/plain
Expires
Wed, Feb 4, 11:27 AM (20 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28434209
Default Alt Text
D20570.id.diff (721 B)

Event Timeline