View | Details | Raw Unified | Return to bug 239154 | Differences between
and this patch

Collapse All | Expand All

(-)lang/go14/Makefile (-18 / +6 lines)
Lines 15-43 Link Here
15
ONLY_FOR_ARCHS=		amd64 armv6 armv7 i386
15
ONLY_FOR_ARCHS=		amd64 armv6 armv7 i386
16
16
17
USES=		compiler shebangfix
17
USES=		compiler shebangfix
18
SHEBANG_LANG=	sh perl
19
SHEBANG_FILES=	src/*.bash \
20
		src/cmd/go/*.bash \
21
		doc/progs/run \
22
		doc/articles/wiki/*.bash \
23
		test/bench/shootout/timing.sh \
24
		misc/nacl/*_exec misc/benchcmp \
25
		src/net/http/cgi/testdata/*.cgi \
26
		src/regexp/syntax/*.pl \
27
		lib/codereview/*.sh
28
18
29
sh_OLD_CMD=	"/usr/bin/env bash"
19
SHEBANG_GLOB=	*.bash *.pl *.cgi
30
sh_CMD=		${SH}
31
20
32
WRKSRC=		${WRKDIR}/go
21
WRKSRC=		${WRKDIR}/go
33
22
34
.include <bsd.port.pre.mk>
23
.include <bsd.port.pre.mk>
35
24
36
# If cc is clang, change it to clang to help Go identify the compiler
37
.if ${COMPILER_TYPE} == "clang" && ${CC} == "cc"
38
CC=clang
39
.endif
40
41
.if ${ARCH} == i386
25
.if ${ARCH} == i386
42
GOARCH=386
26
GOARCH=386
43
GOOBJ=8
27
GOOBJ=8
Lines 56-70 Link Here
56
40
57
post-patch:
41
post-patch:
58
	@cd ${WRKSRC} && ${FIND} . -name '*.orig' -delete
42
	@cd ${WRKSRC} && ${FIND} . -name '*.orig' -delete
43
	@${REINPLACE_CMD} -e 's|^if ulimit -T|false \&\& &|' ${WRKSRC}/src/run.bash
44
	@${REINPLACE_CMD} -e 's|<<<.int main() {}.|< $$\(echo "int main() {}"\)|' ${WRKSRC}/src/run.bash
59
45
60
do-build:
46
do-build:
61
	cd ${WRKSRC}/src && \
47
	cd ${WRKSRC}/src && \
62
		CC=${CC} \
63
		GOROOT=${WRKSRC} GOROOT_FINAL=${PREFIX}/go14 \
48
		GOROOT=${WRKSRC} GOROOT_FINAL=${PREFIX}/go14 \
64
		GOBIN= GOARCH=${GOARCH} GOOS=${OPSYS:tl} \
49
		GOBIN= GOARCH=${GOARCH} GOOS=${OPSYS:tl} \
65
		GO386=387 \
50
		GO386=387 \
66
		CGO_ENABLED=0 \
51
		CGO_ENABLED=0 \
67
		${SH} make.bash
52
		${SH} make.bash
53
	${RM} ${WRKSRC}/.[a-z]* ${WRKSRC}/favicon.ico ${WRKSRC}/robots.txt
54
	${RM} -r ${WRKSRC}/lib/codereview ${WRKSRC}/misc \
55
		${WRKSRC}/pkg/obj ${WRKSRC}/pkg/${OPSYS:tl}_${GOARCH}/cmd
68
56
69
do-install:
57
do-install:
70
	@${CP} -a ${WRKSRC} ${STAGEDIR}${PREFIX}/go14
58
	@${CP} -a ${WRKSRC} ${STAGEDIR}${PREFIX}/go14
(-)lang/go14/pkg-plist (-219 lines)
Lines 1-5 Link Here
1
go14/.hgignore
2
go14/.hgtags
3
go14/AUTHORS
1
go14/AUTHORS
4
go14/CONTRIBUTORS
2
go14/CONTRIBUTORS
5
go14/LICENSE
3
go14/LICENSE
Lines 168-174 Link Here
168
go14/doc/share.png
166
go14/doc/share.png
169
go14/doc/sieve.gif
167
go14/doc/sieve.gif
170
go14/doc/tos.html
168
go14/doc/tos.html
171
go14/favicon.ico
172
go14/include/README
169
go14/include/README
173
go14/include/ar.h
170
go14/include/ar.h
174
go14/include/bio.h
171
go14/include/bio.h
Lines 188-411 Link Here
188
go14/include/plan9/utf.h
185
go14/include/plan9/utf.h
189
go14/include/u.h
186
go14/include/u.h
190
go14/include/utf.h
187
go14/include/utf.h
191
go14/lib/codereview/codereview.cfg
192
go14/lib/codereview/codereview.py
193
go14/lib/codereview/test.sh
194
go14/lib/time/README
188
go14/lib/time/README
195
go14/lib/time/update.bash
189
go14/lib/time/update.bash
196
go14/lib/time/zoneinfo.zip
190
go14/lib/time/zoneinfo.zip
197
go14/misc/android/README
198
go14/misc/android/go_android_exec.go
199
go14/misc/arm/a
200
go14/misc/benchcmp
201
go14/misc/cgo/errors/err1.go
202
go14/misc/cgo/errors/err2.go
203
go14/misc/cgo/errors/err3.go
204
go14/misc/cgo/errors/issue7757.go
205
go14/misc/cgo/errors/issue8442.go
206
go14/misc/cgo/errors/test.bash
207
go14/misc/cgo/gmp/fib.go
208
go14/misc/cgo/gmp/gmp.go
209
go14/misc/cgo/gmp/pi.go
210
go14/misc/cgo/life/c-life.c
211
go14/misc/cgo/life/life.go
212
go14/misc/cgo/life/life.h
213
go14/misc/cgo/life/main.go
214
go14/misc/cgo/life/main.out
215
go14/misc/cgo/nocgo/nocgo.go
216
go14/misc/cgo/nocgo/nocgo_test.go
217
go14/misc/cgo/stdio/chain.go
218
go14/misc/cgo/stdio/chain.out
219
go14/misc/cgo/stdio/fib.go
220
go14/misc/cgo/stdio/fib.out
221
go14/misc/cgo/stdio/file.go
222
go14/misc/cgo/stdio/hello.go
223
go14/misc/cgo/stdio/hello.out
224
go14/misc/cgo/stdio/run.out
225
go14/misc/cgo/stdio/stdio.go
226
go14/misc/cgo/test/align.go
227
go14/misc/cgo/test/api.go
228
go14/misc/cgo/test/backdoor/backdoor.go
229
go14/misc/cgo/test/backdoor/runtime_gccgo.c
230
go14/misc/cgo/test/backdoor/thunk.s
231
go14/misc/cgo/test/basic.go
232
go14/misc/cgo/test/buildid_linux.go
233
go14/misc/cgo/test/callback.go
234
go14/misc/cgo/test/callback_c.c
235
go14/misc/cgo/test/callback_c_gc.c
236
go14/misc/cgo/test/callback_c_gccgo.c
237
go14/misc/cgo/test/cflags.go
238
go14/misc/cgo/test/cgo_linux_test.go
239
go14/misc/cgo/test/cgo_test.go
240
go14/misc/cgo/test/cthread.go
241
go14/misc/cgo/test/cthread_unix.c
242
go14/misc/cgo/test/cthread_windows.c
243
go14/misc/cgo/test/duplicate_symbol.go
244
go14/misc/cgo/test/env.go
245
go14/misc/cgo/test/exports.go
246
go14/misc/cgo/test/fpvar.go
247
go14/misc/cgo/test/helpers.go
248
go14/misc/cgo/test/issue1222.go
249
go14/misc/cgo/test/issue1328.go
250
go14/misc/cgo/test/issue1560.go
251
go14/misc/cgo/test/issue1635.go
252
go14/misc/cgo/test/issue2462.go
253
go14/misc/cgo/test/issue3250.go
254
go14/misc/cgo/test/issue3250w.go
255
go14/misc/cgo/test/issue3261.go
256
go14/misc/cgo/test/issue3729.go
257
go14/misc/cgo/test/issue3729w.go
258
go14/misc/cgo/test/issue3741.go
259
go14/misc/cgo/test/issue3775.go
260
go14/misc/cgo/test/issue3945.go
261
go14/misc/cgo/test/issue4029.go
262
go14/misc/cgo/test/issue4029w.go
263
go14/misc/cgo/test/issue4054a.go
264
go14/misc/cgo/test/issue4054b.go
265
go14/misc/cgo/test/issue4273.c
266
go14/misc/cgo/test/issue4273b.c
267
go14/misc/cgo/test/issue4339.c
268
go14/misc/cgo/test/issue4339.go
269
go14/misc/cgo/test/issue4339.h
270
go14/misc/cgo/test/issue4417.go
271
go14/misc/cgo/test/issue4857.go
272
go14/misc/cgo/test/issue5227.go
273
go14/misc/cgo/test/issue5242.go
274
go14/misc/cgo/test/issue5337.go
275
go14/misc/cgo/test/issue5337w.go
276
go14/misc/cgo/test/issue5548.go
277
go14/misc/cgo/test/issue5548_c.c
278
go14/misc/cgo/test/issue5603.go
279
go14/misc/cgo/test/issue5740.go
280
go14/misc/cgo/test/issue5740a.c
281
go14/misc/cgo/test/issue5740b.c
282
go14/misc/cgo/test/issue5986.go
283
go14/misc/cgo/test/issue6128.go
284
go14/misc/cgo/test/issue6390.go
285
go14/misc/cgo/test/issue6472.go
286
go14/misc/cgo/test/issue6506.go
287
go14/misc/cgo/test/issue6612.go
288
go14/misc/cgo/test/issue6833.go
289
go14/misc/cgo/test/issue6833_c.c
290
go14/misc/cgo/test/issue6997_linux.c
291
go14/misc/cgo/test/issue6997_linux.go
292
go14/misc/cgo/test/issue7234_test.go
293
go14/misc/cgo/test/issue7560.go
294
go14/misc/cgo/test/issue7665.go
295
go14/misc/cgo/test/issue7786.go
296
go14/misc/cgo/test/issue7978.go
297
go14/misc/cgo/test/issue8092.go
298
go14/misc/cgo/test/issue8148.go
299
go14/misc/cgo/test/issue8331.h
300
go14/misc/cgo/test/issue8331a.go
301
go14/misc/cgo/test/issue8331b.go
302
go14/misc/cgo/test/issue8428.go
303
go14/misc/cgo/test/issue8441.go
304
go14/misc/cgo/test/issue8517.go
305
go14/misc/cgo/test/issue8517_windows.c
306
go14/misc/cgo/test/issue8517_windows.go
307
go14/misc/cgo/test/issue8694.go
308
go14/misc/cgo/test/issue8811.c
309
go14/misc/cgo/test/issue8811.go
310
go14/misc/cgo/test/issue8828.go
311
go14/misc/cgo/test/issue8828/issue8828.c
312
go14/misc/cgo/test/issue8828/trivial.go
313
go14/misc/cgo/test/issue9026.go
314
go14/misc/cgo/test/issue9026/issue9026.go
315
go14/misc/cgo/test/setgid_linux.go
316
go14/misc/cgo/test/sleep_windows_386.go
317
go14/misc/cgo/testasan/main.go
318
go14/misc/cgo/testcdefs/cdefstest.c
319
go14/misc/cgo/testcdefs/cdefstest.go
320
go14/misc/cgo/testcdefs/main.c
321
go14/misc/cgo/testcdefs/main.go
322
go14/misc/cgo/testcdefs/test.bash
323
go14/misc/cgo/testgodefs/anonunion.go
324
go14/misc/cgo/testgodefs/issue8478.go
325
go14/misc/cgo/testgodefs/main.go
326
go14/misc/cgo/testgodefs/test.bash
327
go14/misc/cgo/testso/cgoso.c
328
go14/misc/cgo/testso/cgoso.go
329
go14/misc/cgo/testso/cgoso_c.c
330
go14/misc/cgo/testso/cgoso_unix.go
331
go14/misc/cgo/testso/main.go
332
go14/misc/cgo/testso/test.bash
333
go14/misc/cgo/testso/test.bat
334
go14/misc/cgo/testtls/tls.go
335
go14/misc/cgo/testtls/tls_test.go
336
go14/misc/cgo/testtls/tls_unix.c
337
go14/misc/chrome/gophertool/README.txt
338
go14/misc/chrome/gophertool/background.html
339
go14/misc/chrome/gophertool/background.js
340
go14/misc/chrome/gophertool/gopher.js
341
go14/misc/chrome/gophertool/gopher.png
342
go14/misc/chrome/gophertool/manifest.json
343
go14/misc/chrome/gophertool/popup.html
344
go14/misc/chrome/gophertool/popup.js
345
go14/misc/dashboard/codereview/app.yaml
346
go14/misc/dashboard/codereview/cron.yaml
347
go14/misc/dashboard/codereview/dashboard/cl.go
348
go14/misc/dashboard/codereview/dashboard/front.go
349
go14/misc/dashboard/codereview/dashboard/gc.go
350
go14/misc/dashboard/codereview/dashboard/mail.go
351
go14/misc/dashboard/codereview/dashboard/people.go
352
go14/misc/dashboard/codereview/index.yaml
353
go14/misc/dashboard/codereview/queue.yaml
354
go14/misc/dashboard/codereview/static/gopherstamp.jpg
355
go14/misc/dashboard/codereview/static/icon.png
356
go14/misc/editors
357
go14/misc/git/pre-commit
358
go14/misc/linkcheck/linkcheck.go
359
go14/misc/makerelease/darwin/Distribution
360
go14/misc/makerelease/darwin/Resources/bg.png
361
go14/misc/makerelease/darwin/etc/paths.d/go
362
go14/misc/makerelease/darwin/scripts/postinstall
363
go14/misc/makerelease/darwin/scripts/preinstall
364
go14/misc/makerelease/makerelease.go
365
go14/misc/makerelease/windows/LICENSE.rtf
366
go14/misc/makerelease/windows/README.txt
367
go14/misc/makerelease/windows/images/Banner.jpg
368
go14/misc/makerelease/windows/images/Dialog.jpg
369
go14/misc/makerelease/windows/images/DialogLeft.jpg
370
go14/misc/makerelease/windows/images/gopher.ico
371
go14/misc/makerelease/windows/installer.wxs
372
go14/misc/nacl/README
373
go14/misc/nacl/go_nacl_386_exec
374
go14/misc/nacl/go_nacl_amd64p32_exec
375
go14/misc/nacl/go_nacl_arm_exec
376
go14/misc/nacl/mkzip.go
377
go14/misc/nacl/testdata/bin/placeholder
378
go14/misc/nacl/testdata/empty
379
go14/misc/nacl/testdata/group
380
go14/misc/nacl/testdata/hosts
381
go14/misc/nacl/testdata/mime.types
382
go14/misc/nacl/testzip.proto
383
go14/misc/swig/callback/callback.cc
384
go14/misc/swig/callback/callback.go
385
go14/misc/swig/callback/callback.h
386
go14/misc/swig/callback/callback.swigcxx
387
go14/misc/swig/callback/callback_test.go
388
go14/misc/swig/stdio/file.swig
389
go14/misc/swig/stdio/file_test.go
390
go14/pkg/freebsd_%%ARCH%%/archive/tar.a
191
go14/pkg/freebsd_%%ARCH%%/archive/tar.a
391
go14/pkg/freebsd_%%ARCH%%/archive/zip.a
192
go14/pkg/freebsd_%%ARCH%%/archive/zip.a
392
go14/pkg/freebsd_%%ARCH%%/bufio.a
193
go14/pkg/freebsd_%%ARCH%%/bufio.a
393
go14/pkg/freebsd_%%ARCH%%/bytes.a
194
go14/pkg/freebsd_%%ARCH%%/bytes.a
394
go14/pkg/freebsd_%%ARCH%%/cgocall.h
195
go14/pkg/freebsd_%%ARCH%%/cgocall.h
395
go14/pkg/freebsd_%%ARCH%%/cmd/internal/goobj.a
396
go14/pkg/freebsd_%%ARCH%%/cmd/internal/objfile.a
397
go14/pkg/freebsd_%%ARCH%%/cmd/internal/rsc.io/arm/armasm.a
398
go14/pkg/freebsd_%%ARCH%%/cmd/internal/rsc.io/x86/x86asm.a
399
go14/pkg/freebsd_%%ARCH%%/cmd/pprof/internal/commands.a
400
go14/pkg/freebsd_%%ARCH%%/cmd/pprof/internal/driver.a
401
go14/pkg/freebsd_%%ARCH%%/cmd/pprof/internal/fetch.a
402
go14/pkg/freebsd_%%ARCH%%/cmd/pprof/internal/plugin.a
403
go14/pkg/freebsd_%%ARCH%%/cmd/pprof/internal/profile.a
404
go14/pkg/freebsd_%%ARCH%%/cmd/pprof/internal/report.a
405
go14/pkg/freebsd_%%ARCH%%/cmd/pprof/internal/svg.a
406
go14/pkg/freebsd_%%ARCH%%/cmd/pprof/internal/symbolizer.a
407
go14/pkg/freebsd_%%ARCH%%/cmd/pprof/internal/symbolz.a
408
go14/pkg/freebsd_%%ARCH%%/cmd/pprof/internal/tempfile.a
409
go14/pkg/freebsd_%%ARCH%%/compress/bzip2.a
196
go14/pkg/freebsd_%%ARCH%%/compress/bzip2.a
410
go14/pkg/freebsd_%%ARCH%%/compress/flate.a
197
go14/pkg/freebsd_%%ARCH%%/compress/flate.a
411
go14/pkg/freebsd_%%ARCH%%/compress/gzip.a
198
go14/pkg/freebsd_%%ARCH%%/compress/gzip.a
Lines 538-548 Link Here
538
go14/pkg/freebsd_%%ARCH%%/unicode.a
325
go14/pkg/freebsd_%%ARCH%%/unicode.a
539
go14/pkg/freebsd_%%ARCH%%/unicode/utf16.a
326
go14/pkg/freebsd_%%ARCH%%/unicode/utf16.a
540
go14/pkg/freebsd_%%ARCH%%/unicode/utf8.a
327
go14/pkg/freebsd_%%ARCH%%/unicode/utf8.a
541
go14/pkg/obj/freebsd_%%ARCH%%/lib9.a
542
go14/pkg/obj/freebsd_%%ARCH%%/libbio.a
543
go14/pkg/obj/freebsd_%%ARCH%%/libcc.a
544
go14/pkg/obj/freebsd_%%ARCH%%/libgc.a
545
go14/pkg/obj/freebsd_%%ARCH%%/liblink.a
546
go14/pkg/tool/freebsd_%%ARCH%%/%%GOOBJ%%a
328
go14/pkg/tool/freebsd_%%ARCH%%/%%GOOBJ%%a
547
go14/pkg/tool/freebsd_%%ARCH%%/%%GOOBJ%%c
329
go14/pkg/tool/freebsd_%%ARCH%%/%%GOOBJ%%c
548
go14/pkg/tool/freebsd_%%ARCH%%/%%GOOBJ%%g
330
go14/pkg/tool/freebsd_%%ARCH%%/%%GOOBJ%%g
Lines 556-562 Link Here
556
go14/pkg/tool/freebsd_%%ARCH%%/pack
338
go14/pkg/tool/freebsd_%%ARCH%%/pack
557
go14/pkg/tool/freebsd_%%ARCH%%/pprof
339
go14/pkg/tool/freebsd_%%ARCH%%/pprof
558
go14/pkg/tool/freebsd_%%ARCH%%/yacc
340
go14/pkg/tool/freebsd_%%ARCH%%/yacc
559
go14/robots.txt
560
go14/src/Make.dist
341
go14/src/Make.dist
561
go14/src/all.bash
342
go14/src/all.bash
562
go14/src/all.bat
343
go14/src/all.bat

Return to bug 239154