Lines 1-5
Link Here
|
1 |
PORTNAME= go |
1 |
PORTNAME= go |
2 |
DISTVERSION?= g20230808 |
2 |
DISTVERSION?= g20240208 |
3 |
PORTREVISION?= 0 |
3 |
PORTREVISION?= 0 |
4 |
CATEGORIES= lang |
4 |
CATEGORIES= lang |
5 |
MASTER_SITES?= https://github.com/dmgk/go-bootstrap/releases/download/${BOOTSTRAP_TAG}/:bootstrap \ |
5 |
MASTER_SITES?= https://github.com/dmgk/go-bootstrap/releases/download/${BOOTSTRAP_TAG}/:bootstrap \ |
Lines 20-25
IGNORE= fails to build with qemu-user-static
Link Here
|
20 |
|
20 |
|
21 |
ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 riscv64 |
21 |
ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 riscv64 |
22 |
|
22 |
|
|
|
23 |
BUILD_DEPENDS?= bash:shells/bash |
23 |
RUN_DEPENDS= ${RUN_DEPENDS_${ARCH}} |
24 |
RUN_DEPENDS= ${RUN_DEPENDS_${ARCH}} |
24 |
# ld.bfd from devel/binutils is needed for working cgo on aarch64 |
25 |
# ld.bfd from devel/binutils is needed for working cgo on aarch64 |
25 |
RUN_DEPENDS_aarch64= binutils>0:devel/binutils |
26 |
RUN_DEPENDS_aarch64= binutils>0:devel/binutils |
Lines 35-50
CPE_VENDOR= golang
Link Here
|
35 |
.ifndef MASTERDIR |
36 |
.ifndef MASTERDIR |
36 |
USE_GITHUB= yes |
37 |
USE_GITHUB= yes |
37 |
GH_ACCOUNT= golang |
38 |
GH_ACCOUNT= golang |
38 |
# go1.21.0 |
39 |
# go1.22 |
39 |
GH_TAGNAME= c19c4c566c63818dfd059b352e52c4710eecf14d |
40 |
GH_TAGNAME= 20107e05a609b8f2e61a6b5e8dc258237ad046e7 |
40 |
.endif |
41 |
.endif |
41 |
|
42 |
|
42 |
SHEBANG_FILES= misc/wasm/go_js_wasm_exec \ |
43 |
SHEBANG_FILES?= misc/wasm/go_js_wasm_exec misc/wasm/go_wasip1_wasm_exec |
43 |
src/net/http/cgi/testdata/test.cgi |
|
|
44 |
SHEBANG_GLOB= *.bash *.pl *.sh |
44 |
SHEBANG_GLOB= *.bash *.pl *.sh |
45 |
|
45 |
|
46 |
# Upstream archive contains files with UTF-8 names |
46 |
# Upstream archive contains files with UTF-8 names |
47 |
EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 ${TAR} |
47 |
EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 ${TAR} |
|
|
48 |
BASH?= ${LOCALBASE}/bin/bash |
48 |
|
49 |
|
49 |
OPTIONS_DEFINE_i386= SOFTFLOAT |
50 |
OPTIONS_DEFINE_i386= SOFTFLOAT |
50 |
OPTIONS_DEFAULT_amd64= V1 |
51 |
OPTIONS_DEFAULT_amd64= V1 |
Lines 105-111
do-build:
Link Here
|
105 |
GOARM=${GOARM_${ARCH}} \ |
106 |
GOARM=${GOARM_${ARCH}} \ |
106 |
GOAMD64=${GOAMD64} \ |
107 |
GOAMD64=${GOAMD64} \ |
107 |
CC=${CC} \ |
108 |
CC=${CC} \ |
108 |
${SH} make.bash -v |
109 |
${BASH} make.bash -v |
109 |
|
110 |
|
110 |
do-install: |
111 |
do-install: |
111 |
@cd ${WRKSRC} ; \ |
112 |
@cd ${WRKSRC} ; \ |