Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jul 2021 00:47:42 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 99b217d54d46 - main - net-mgmt/prometheus2: fix typo reformating Makefile
Message-ID:  <202107110047.16B0lgj2088546@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@xm0.uk>
AuthorDate: 2021-07-11 00:40:35 +0000
Commit:     Nuno Teixeira <eduardo@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107110047.16B0lgj2088546>