blob: 7e9dbf3fbf19d1cc4cc91af48e200f1dcb0d1dfa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
# $NetBSD: Makefile,v 1.70 2022/09/26 18:40:23 bsiegert Exp $
DISTNAME= tools-0.1.0
PKGNAME= go-${DISTNAME}
PKGREVISION= 17
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=golang/}
GITHUB_PROJECT= tools
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= bsiegert@NetBSD.org
HOMEPAGE= https://golang.org/
COMMENT= Tools for use with Go, including godoc
LICENSE= modified-bsd
GO_BUILD_PATTERN= ./cmd/...
CHECK_RELRO_SKIP+= bin/benchcmp
CHECK_RELRO_SKIP+= bin/bundle
CHECK_RELRO_SKIP+= bin/callgraph
CHECK_RELRO_SKIP+= bin/cover
CHECK_RELRO_SKIP+= bin/digraph
CHECK_RELRO_SKIP+= bin/eg
CHECK_RELRO_SKIP+= bin/fiximports
CHECK_RELRO_SKIP+= bin/godex
CHECK_RELRO_SKIP+= bin/godoc
CHECK_RELRO_SKIP+= bin/goimports
CHECK_RELRO_SKIP+= bin/gomvpkg
CHECK_RELRO_SKIP+= bin/gorename
CHECK_RELRO_SKIP+= bin/gotype
CHECK_RELRO_SKIP+= bin/goyacc
CHECK_RELRO_SKIP+= bin/guru
CHECK_RELRO_SKIP+= bin/heapview
CHECK_RELRO_SKIP+= bin/html2article
CHECK_RELRO_SKIP+= bin/present
CHECK_RELRO_SKIP+= bin/ssadump
CHECK_RELRO_SKIP+= bin/stress
CHECK_RELRO_SKIP+= bin/stringer
CHECK_RELRO_SKIP+= bin/tip
CHECK_RELRO_SKIP+= bin/toolstash
CHECK_RELRO_SKIP+= bin/authtest
CHECK_RELRO_SKIP+= bin/benchcmp
CHECK_RELRO_SKIP+= bin/bundle
CHECK_RELRO_SKIP+= bin/callgraph
CHECK_RELRO_SKIP+= bin/compilebench
CHECK_RELRO_SKIP+= bin/cookieauth
CHECK_RELRO_SKIP+= bin/cover
CHECK_RELRO_SKIP+= bin/digraph
CHECK_RELRO_SKIP+= bin/eg
CHECK_RELRO_SKIP+= bin/fiximports
CHECK_RELRO_SKIP+= bin/getgo
CHECK_RELRO_SKIP+= bin/gitauth
CHECK_RELRO_SKIP+= bin/go-contrib-init
CHECK_RELRO_SKIP+= bin/godex
CHECK_RELRO_SKIP+= bin/godoc
CHECK_RELRO_SKIP+= bin/goimports
CHECK_RELRO_SKIP+= bin/gomvpkg
CHECK_RELRO_SKIP+= bin/gorename
CHECK_RELRO_SKIP+= bin/gotype
CHECK_RELRO_SKIP+= bin/goyacc
CHECK_RELRO_SKIP+= bin/guru
CHECK_RELRO_SKIP+= bin/html2article
CHECK_RELRO_SKIP+= bin/netrcauth
CHECK_RELRO_SKIP+= bin/present
CHECK_RELRO_SKIP+= bin/present2md
CHECK_RELRO_SKIP+= bin/server
CHECK_RELRO_SKIP+= bin/splitdwarf
CHECK_RELRO_SKIP+= bin/ssadump
CHECK_RELRO_SKIP+= bin/stress
CHECK_RELRO_SKIP+= bin/stringer
CHECK_RELRO_SKIP+= bin/toolstash
pre-patch:
${RM} -rf ${WRKSRC}/cmd/getgo/server
.include "go-modules.mk"
.include "../../lang/go/go-module.mk"
# XXX: breaks PIE if included before go-module.mk
.include "../../mk/bsd.fast.prefs.mk"
PLIST_VARS+= splitdwarf
.if ${OPSYS} != "SunOS"
PLIST.splitdwarf= yes
.endif
.include "../../mk/bsd.pkg.mk"
|