1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

www/beehive: fix build on riscv64

- bump golang.org/x/sys dependency to a version new enough to
   support riscv64-freebsd
 - remove ONLY_FOR_ARCH; this port should build on any arch that
   supports Go
 - only strip binaries if stripping has been requested

Sponsored by:	Berliner Linux User Group e.V.
Approved by:	portmgr (build fix blanket)
Differential Revision: https://reviews.freebsd.org/D39157
This commit is contained in:
Robert Clausecker 2023-03-18 01:10:05 +00:00
parent 864e46ec64
commit 189d3cb640
2 changed files with 7 additions and 9 deletions

View File

@ -1,7 +1,7 @@
PORTNAME= beehive
DISTVERSIONPREFIX= v
DISTVERSION= 0.4.0
PORTREVISION= 12
PORTREVISION= 13
CATEGORIES= www
MAINTAINER= lcook@FreeBSD.org
@ -11,8 +11,6 @@ WWW= https://github.com/muesli/beehive
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64 i386
BUILD_DEPENDS= go-bindata:devel/go-bindata
USES= go:modules
@ -61,7 +59,7 @@ GH_TUPLE= ChimeraCoder:anaconda:v2.0.0:chimeracoder_anaconda/vendor/github.com/C
golang:net:da9a3fd4c582:golang_net/vendor/golang.org/x/net \
golang:oauth2:9f3314589c9a:golang_oauth2/vendor/golang.org/x/oauth2 \
golang:protobuf:v1.3.1:golang_protobuf/vendor/github.com/golang/protobuf \
golang:sys:d89cdac9e872:golang_sys/vendor/golang.org/x/sys \
golang:sys:v0.6.0:golang_sys/vendor/golang.org/x/sys \
golang:text:v0.3.2:golang_text/vendor/golang.org/x/text \
golang:time:c4c64cad1fd0:golang_time/vendor/golang.org/x/time \
google:go-github:v17.0.0:google_go_github/vendor/github.com/google/go-github \
@ -133,8 +131,8 @@ _BUILD_TAGS= -tags "embed"
_BUILD_SHA= 7447df7
GO_BUILDFLAGS= ${_BUILD_TAGS} \
-ldflags "\
-s -w \
-ldflags "\
${STRIP} -w \
-X main.Version=${DISTVERSION} \
-X main.CommitSHA=${_BUILD_SHA}"

View File

@ -1,4 +1,4 @@
TIMESTAMP = 1599300499
TIMESTAMP = 1679101316
SHA256 (muesli-beehive-v0.4.0_GH0.tar.gz) = cfe18e937556371be11a08dee152b4d5258708d592d7ada3dfdfe8b1369bc380
SIZE (muesli-beehive-v0.4.0_GH0.tar.gz) = 2024898
SHA256 (ChimeraCoder-anaconda-v2.0.0_GH0.tar.gz) = be09e83cb071a24c4f9c5a8800a2b2239188de544c76c7ad53bff102d2f13948
@ -87,8 +87,8 @@ SHA256 (golang-oauth2-9f3314589c9a_GH0.tar.gz) = daa93a9035722a6549aad86e440fa1b
SIZE (golang-oauth2-9f3314589c9a_GH0.tar.gz) = 45034
SHA256 (golang-protobuf-v1.3.1_GH0.tar.gz) = 3f3a6123054a9847093c119895f1660612f301fe95358f3a6a1a33fd0933e6cf
SIZE (golang-protobuf-v1.3.1_GH0.tar.gz) = 310884
SHA256 (golang-sys-d89cdac9e872_GH0.tar.gz) = 527dec46c884a6a018025fac8afa5560cf8d80fd46c067e29dfb3d429262da62
SIZE (golang-sys-d89cdac9e872_GH0.tar.gz) = 1384004
SHA256 (golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54
SIZE (golang-sys-v0.6.0_GH0.tar.gz) = 1434234
SHA256 (golang-text-v0.3.2_GH0.tar.gz) = 0b9309698f5708531c5377ab1e29b423a6d9e20c55a8d386c3b8283428212f22
SIZE (golang-text-v0.3.2_GH0.tar.gz) = 7168069
SHA256 (golang-time-c4c64cad1fd0_GH0.tar.gz) = 992e9c1f73a312f76c2b181e01e66ff4d77da8117db868095ac44e0677e1f8e2