FreeBSD Bugzilla – Attachment 204866 Details for
Bug 238374
[NEW PORT] lang/go-devel: Go programming language (development version)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch file
go-devel-g20190604.patch (text/plain), 3.97 KB, created by
Dmitri Goutnik
on 2019-06-06 18:46:23 UTC
(
hide
)
Description:
patch file
Filename:
MIME Type:
Creator:
Dmitri Goutnik
Created:
2019-06-06 18:46:23 UTC
Size:
3.97 KB
patch
obsolete
>Index: lang/go-devel/Makefile >=================================================================== >--- lang/go-devel/Makefile (nonexistent) >+++ lang/go-devel/Makefile (working copy) >@@ -0,0 +1,92 @@ >+# $FreeBSD$ >+ >+PORTNAME= go >+PORTVERSION= g20190604 >+CATEGORIES= lang >+PKGNAMESUFFIX= -devel >+ >+MAINTAINER= dg@syrec.org >+COMMENT= Go programming language (development version) >+ >+LICENSE= BSD3CLAUSE >+ >+ONLY_FOR_ARCHS= amd64 armv6 armv7 i386 >+ >+BUILD_DEPENDS= go14>=1.4:lang/go14 >+ >+USES= shebangfix >+ >+SHEBANG_LANG= sh >+SHEBANG_FILES= misc/benchcmp \ >+ misc/nacl/go_nacl_*_exec \ >+ misc/wasm/go_js_wasm_exec \ >+ src/net/http/cgi/testdata/test.cgi >+SHEBANG_GLOB= *.bash *.pl *.sh >+ >+sh_OLD_CMD= /bin/bash "/usr/bin/env bash" >+sh_CMD= ${SH} >+ >+USE_GITHUB= yes >+GH_ACCOUNT= golang >+GH_PROJECT= go >+GH_TAGNAME= ac8dbe7747 >+ >+CONFLICTS_INSTALL= go-1.* >+ >+OPTIONS_DEFINE_i386= GO387 >+GO387_DESC= Do not generate code with SSE2 (for old x86 CPU) >+ >+.include <bsd.port.pre.mk> >+ >+.if ${ARCH} == i386 >+GOARCH=386 >+.elif ${ARCH} == "amd64" >+GOARCH=amd64 >+.elif ${ARCH} == armv6 || ${ARCH} == armv7 >+GOARCH=arm >+.else >+IGNORE= unknown arch ${ARCH} >+.endif >+ >+.if ${PORT_OPTIONS:MGO387} >+GO386=387 >+.endif >+ >+BINARIES= go gofmt >+ >+post-patch: >+ @cd ${WRKSRC} && ${FIND} . -name '*.orig' -delete >+ @${REINPLACE_CMD} -e 's|^if ulimit -T|false \&\& &|' ${WRKSRC}/src/run.bash >+ @${ECHO} "devel-${GH_TAGNAME}" > ${WRKSRC}/VERSION >+ >+do-build: >+ cd ${WRKSRC}/src && \ >+ GOROOT=${WRKSRC} GOROOT_FINAL=${PREFIX}/go \ >+ GOROOT_BOOTSTRAP=${LOCALBASE}/go14 \ >+ GOBIN= GOARCH=${GOARCH} GOOS=${OPSYS:tl} \ >+ GO386=${GO386} \ >+ ${SH} make.bash -v >+ ${RM} -r ${WRKSRC}/pkg/obj \ >+ ${WRKSRC}/pkg/bootstrap \ >+ ${WRKSRC}/pkg/${OPSYS:tl}_${GOARCH}/cmd >+ >+do-install: >+ @${MKDIR} ${STAGEDIR}${PREFIX}/go >+ @${CP} -a ${WRKSRC}/* ${STAGEDIR}${PREFIX}/go >+.for f in ${BINARIES} >+ @${LN} -sf ../go/bin/${f} ${STAGEDIR}${PREFIX}/bin/${f} >+.endfor >+ >+post-install: >+.for f in ${BINARIES} >+ @${ECHO} bin/${f} >> ${TMPPLIST} >+.endfor >+ @(cd ${STAGEDIR}${PREFIX} && \ >+ ${FIND} go -type f >> ${TMPPLIST}) >+ >+do-test: >+ cd ${WRKSRC}/src && \ >+ GOROOT=${WRKSRC} PATH=${WRKSRC}/bin:${PATH} \ >+ ${SH} run.bash -no-rebuild -banner "" >+ >+.include <bsd.port.post.mk> > >Property changes on: lang/go-devel/Makefile >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: lang/go-devel/distinfo >=================================================================== >--- lang/go-devel/distinfo (nonexistent) >+++ lang/go-devel/distinfo (working copy) >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1559846326 >+SHA256 (golang-go-g20190604-ac8dbe7747_GH0.tar.gz) = 09815f8dd4663bfebadbad943ba61a4b3d4a2bc069ded646b70224d7d16a752a >+SIZE (golang-go-g20190604-ac8dbe7747_GH0.tar.gz) = 21497169 > >Property changes on: lang/go-devel/distinfo >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: lang/go-devel/pkg-descr >=================================================================== >--- lang/go-devel/pkg-descr (nonexistent) >+++ lang/go-devel/pkg-descr (working copy) >@@ -0,0 +1,6 @@ >+Go is an open source programming environment that makes it easy to build >+simple, reliable, and efficient software. >+ >+This ports tracks Go development (master) branch. >+ >+WWW: https://golang.org > >Property changes on: lang/go-devel/pkg-descr >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 238374
: 204866