Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144019740
D20570.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
721 B
Referenced Files
None
Subscribers
None
D20570.id.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D20570: Mk/Uses/go.mk: Allow Go port selection with GO_PORT
Attached
Detach File
Event Timeline
Log In to Comment