Changeset View
Changeset View
Standalone View
Standalone View
head/Mk/Uses/go.mk
Show First 20 Lines • Show All 95 Lines • ▼ Show 20 Lines | GO_ENV+= GOPATH="" \ | ||||
GOBIN="${GO_WRKDIR_BIN}" | GOBIN="${GO_WRKDIR_BIN}" | ||||
.else | .else | ||||
GO_WRKDIR_SRC= ${WRKDIR}/src | GO_WRKDIR_SRC= ${WRKDIR}/src | ||||
GO_WRKSRC= ${GO_WRKDIR_SRC}/${GO_PKGNAME} | GO_WRKSRC= ${GO_WRKDIR_SRC}/${GO_PKGNAME} | ||||
GO_ENV+= GOPATH="${WRKDIR}" \ | GO_ENV+= GOPATH="${WRKDIR}" \ | ||||
GOBIN="" | GOBIN="" | ||||
.endif | .endif | ||||
GO_PORT?= lang/go | # Tentatively enable package building for Go ports on aarch64 to catch regressions early. | ||||
# Can be removed after go1.14 is officially released in Jan 2020 and lang/go is updated to 1.14 | |||||
GO_PORT_aarch64= lang/go-devel | |||||
GO_PORT?= ${GO_PORT_${ARCH}:Ulang/go} | |||||
BUILD_DEPENDS+= ${GO_CMD}:${GO_PORT} | BUILD_DEPENDS+= ${GO_CMD}:${GO_PORT} | ||||
.if ${go_ARGS:Mrun} | .if ${go_ARGS:Mrun} | ||||
RUN_DEPENDS+= ${GO_CMD}:${GO_PORT} | RUN_DEPENDS+= ${GO_CMD}:${GO_PORT} | ||||
.endif | .endif | ||||
_USES_POST+= go | _USES_POST+= go | ||||
.endif # !defined(_INCLUDE_USES_GO_MK) | .endif # !defined(_INCLUDE_USES_GO_MK) | ||||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |