git: 99b217d54d46 - main - net-mgmt/prometheus2: fix typo reformating Makefile

Nuno Teixeira eduardo at FreeBSD.org
Sun Jul 11 00:47:42 UTC 2021


The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=99b217d54d46a600c19016b20ce791bef5f4d160

commit 99b217d54d46a600c19016b20ce791bef5f4d160
Author:     David O'Rourke <dor.bsd at xm0.uk>
AuthorDate: 2021-07-11 00:40:35 +0000
Commit:     Nuno Teixeira <eduardo at FreeBSD.org>
CommitDate: 2021-07-11 00:47:31 +0000

    net-mgmt/prometheus2: fix typo reformating Makefile
    
     * fix typo introduced by portfmt when reformating Makefile that
       messed a variable content order.
     * bump PORTREVISION
---
 net-mgmt/prometheus2/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/net-mgmt/prometheus2/Makefile b/net-mgmt/prometheus2/Makefile
index 636b85772ef3..e597b9c43582 100644
--- a/net-mgmt/prometheus2/Makefile
+++ b/net-mgmt/prometheus2/Makefile
@@ -2,6 +2,7 @@ PORTNAME=	prometheus
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.28.1
 CATEGORIES=	net-mgmt
+PORTREVISION=	1
 
 MAINTAINER=	dor.bsd at xm0.uk
 COMMENT=	Systems monitoring and alerting toolkit
@@ -51,8 +52,8 @@ PROMETHEUS_USER?=			prometheus
 # Bring DISTINFO_FILE into scope so we can get the timestamp.
 .include <bsd.port.pre.mk>
 
-SOURCE_DATE_EPOCH_CMD=	$$(${GREP} TIMESTAMP ${DISTINFO_FILE} | ${SED} -e 's/[^0-9]//g') \
-			'+%Y%m%d-%T' -ur date
+SOURCE_DATE_EPOCH_CMD=	date -ur $$(${GREP} TIMESTAMP ${DISTINFO_FILE} | ${SED} -e 's/[^0-9]//g') \
+			'+%Y%m%d-%T'
 
 # This file includes the GH_TUPLE and a post-extract section. Generated by
 # make gomod-vendor.  Ensure that the GH_TUPLE in this file is +=, otherwise


More information about the dev-commits-ports-all mailing list