git: 2731242e7486 - main - www/nginx-prometheus-exporter: fix build on riscv64

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Wed, 22 Mar 2023 20:17:10 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2731242e74864542aadd56b016527294ba890f08

commit 2731242e74864542aadd56b016527294ba890f08
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-03-21 14:23:30 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-03-22 20:15:24 +0000

    www/nginx-prometheus-exporter: fix build on riscv64
    
    Bump golang.org/x/sys to a version new enough to support
    riscv64-freebsd.  While we are at it, only strip if requested.
    
    Sponsored by:   Berliner Linux User Group e.V.
    Approved by:    portmgr (build fix blanket)
---
 www/nginx-prometheus-exporter/Makefile | 6 +++---
 www/nginx-prometheus-exporter/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/www/nginx-prometheus-exporter/Makefile b/www/nginx-prometheus-exporter/Makefile
index 6eed95693bb9..d746f2079f21 100644
--- a/www/nginx-prometheus-exporter/Makefile
+++ b/www/nginx-prometheus-exporter/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	nginx-prometheus-exporter
 PORTVERSION=	0.10.0
 DISTVERSIONPREFIX=	v
-PORTREVISION=	11
+PORTREVISION=	12
 CATEGORIES=	www
 
 MAINTAINER=	arcade@b1t.name
@@ -17,7 +17,7 @@ GH_ACCOUNT=	nginxinc
 GH_TUPLE=	beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \
 		cespare:xxhash:v2.1.1:cespare_xxhash/vendor/github.com/cespare/xxhash/v2 \
 		golang:protobuf:v1.4.3:golang_protobuf/vendor/github.com/golang/protobuf \
-		golang:sys:ebe580a85c40:golang_sys/vendor/golang.org/x/sys \
+		golang:sys:v0.6.0:golang_sys/vendor/golang.org/x/sys \
 		matttproud:golang_protobuf_extensions:v1.0.1:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \
 		nginxinc:nginx-plus-go-client:v0.9.0:nginxinc_nginx_plus_go_client/vendor/github.com/nginxinc/nginx-plus-go-client \
 		prometheus:client_golang:v1.11.0:prometheus_client_golang/vendor/github.com/prometheus/client_golang \
@@ -29,7 +29,7 @@ GH_TUPLE=	beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \
 USE_RC_SUBR=	${PORTNAME}
 
 LD_FLAG_X_PREFIX=	-X main
-LD_FLAG_STRING=		-s ${LD_FLAG_X_PREFIX}.version=${PORTVERSION}
+LD_FLAG_STRING=		${STRIP} ${LD_FLAG_X_PREFIX}.version=${PORTVERSION}
 GO_BUILDFLAGS=	-v -ldflags "${LD_FLAG_STRING}"
 
 PLIST_FILES=	bin/${PORTNAME}
diff --git a/www/nginx-prometheus-exporter/distinfo b/www/nginx-prometheus-exporter/distinfo
index e064c7e22bb9..d7141592e4ff 100644
--- a/www/nginx-prometheus-exporter/distinfo
+++ b/www/nginx-prometheus-exporter/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1640173471
+TIMESTAMP = 1679408359
 SHA256 (nginxinc-nginx-prometheus-exporter-v0.10.0_GH0.tar.gz) = f62ce8087616db1ace2b563bf61b71ef94c683a68161a45e77a9e3537553cfe6
 SIZE (nginxinc-nginx-prometheus-exporter-v0.10.0_GH0.tar.gz) = 770608
 SHA256 (beorn7-perks-v1.0.1_GH0.tar.gz) = 98db84bb0224a26094e6adba91b7ee7a1a7ace28cb648d818f8e779e6a19f825
@@ -7,8 +7,8 @@ SHA256 (cespare-xxhash-v2.1.1_GH0.tar.gz) = 0ee31178d2c5a1249be4e26294a2f428008d
 SIZE (cespare-xxhash-v2.1.1_GH0.tar.gz) = 9292
 SHA256 (golang-protobuf-v1.4.3_GH0.tar.gz) = 5736f943f8647362f5559689df6154f3c85d261fb088867c8a68494e2a767610
 SIZE (golang-protobuf-v1.4.3_GH0.tar.gz) = 171969
-SHA256 (golang-sys-ebe580a85c40_GH0.tar.gz) = b70e2301ad08c3ae255b004b8160f866798b95c0c1f88f12641343ed81ce523b
-SIZE (golang-sys-ebe580a85c40_GH0.tar.gz) = 1197502
+SHA256 (golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54
+SIZE (golang-sys-v0.6.0_GH0.tar.gz) = 1434234
 SHA256 (matttproud-golang_protobuf_extensions-v1.0.1_GH0.tar.gz) = 2def0ee6f6b12b1efc0e3007d89f598608a072610e805c3655ea9d13c3ead49b
 SIZE (matttproud-golang_protobuf_extensions-v1.0.1_GH0.tar.gz) = 37184
 SHA256 (nginxinc-nginx-plus-go-client-v0.9.0_GH0.tar.gz) = 9e6f4744658ad3e7fbd633bf6dc3a7a96312dcf9b42edabc2ef400686c3088d5