mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
net/bosh-bootloader: fix build on aarch64, riscv64
Bump golang.org/x/sys dependency to a version new enough to support aarch64-freebsd and riscv64-freebsd. Sponsored by: Berliner Linux User Group e.V. Approved by: portmgr (build fix blanket)
This commit is contained in:
parent
9ae57bb754
commit
8df7af7884
@ -1,6 +1,6 @@
|
||||
PORTNAME= bosh-bootloader
|
||||
PORTVERSION= 7.6.0
|
||||
PORTREVISION= 12
|
||||
PORTREVISION= 13
|
||||
CATEGORIES= net sysutils
|
||||
|
||||
MAINTAINER= dumbbell@FreeBSD.org
|
||||
@ -9,10 +9,9 @@ WWW= https://github.com/cloudfoundry/bosh-bootloader
|
||||
|
||||
LICENSE= APACHE20
|
||||
|
||||
BROKEN_aarch64= fails to build: vendor/golang.org/x/sys/unix/cap_freebsd.go:18:23: undefined: CAP_RIGHTS_VERSION_00
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_TUPLE= cloudfoundry:bosh-bootloader:v${PORTVERSION}
|
||||
GH_TUPLE= cloudfoundry:bosh-bootloader:v${PORTVERSION} \
|
||||
golang:sys:v0.6.0:sys
|
||||
|
||||
USES= go tar:xz
|
||||
|
||||
@ -21,6 +20,10 @@ GO_TARGET= github.com/cloudfoundry/bosh-bootloader/bbl
|
||||
|
||||
PLIST_FILES= bin/bbl
|
||||
|
||||
pre-patch:
|
||||
${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
|
||||
${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -E -e 's|(Version = )"dev"|\1"${PORTVERSION}"|' ${WRKSRC}/bbl/main.go
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
TIMESTAMP = 1557134989
|
||||
TIMESTAMP = 1679927440
|
||||
SHA256 (cloudfoundry-bosh-bootloader-7.6.0-v7.6.0_GH0.tar.gz) = d82e6f02c176933228026225718b2142dba6d076e005665faf3880a82cbb4f8d
|
||||
SIZE (cloudfoundry-bosh-bootloader-7.6.0-v7.6.0_GH0.tar.gz) = 9225507
|
||||
SHA256 (golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54
|
||||
SIZE (golang-sys-v0.6.0_GH0.tar.gz) = 1434234
|
||||
|
Loading…
Reference in New Issue
Block a user