git: 02e4a7e4039d - main - sysutils/flock: update to 2.37.2 and fix CURRENT

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Tue, 04 Jan 2022 15:45:51 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=02e4a7e4039dbd0c3b825219c389ac77e9130097

commit 02e4a7e4039dbd0c3b825219c389ac77e9130097
Author:     Franco Fichtner <franco@opnsense.org>
AuthorDate: 2022-01-04 12:00:31 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-01-04 15:44:18 +0000

    sysutils/flock: update to 2.37.2 and fix CURRENT
    
    ChangeLog:
    https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.37/v2.37.2-ReleaseNotes
    
    PR:     260905
    Reported by:    franco@opnsense.org (maintainer)
---
 sysutils/flock/Makefile | 17 +++++++++--------
 sysutils/flock/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/sysutils/flock/Makefile b/sysutils/flock/Makefile
index 00f013df6e35..9f9732972096 100644
--- a/sysutils/flock/Makefile
+++ b/sysutils/flock/Makefile
@@ -1,8 +1,6 @@
-# Created by: Andrey Zonov <andrey@zonov.org>
-
 PORTNAME=	flock
-PORTVERPREFIX=	2.30
-PORTVERSION=	${PORTVERPREFIX}.1
+PORTVERPREFIX=	2.37
+PORTVERSION=	${PORTVERPREFIX}.2
 CATEGORIES=	sysutils
 MASTER_SITES=	KERNEL_ORG/linux/utils/util-linux/v${PORTVERPREFIX}/
 DISTNAME=	util-linux-${PORTVERSION}
@@ -13,17 +11,20 @@ COMMENT=	Manage locks from shell scripts
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-GNU_CONFIGURE=	yes
 USES=		libtool pkgconfig
 
-OPTIONS_DEFINE=	NLS
+GNU_CONFIGURE=	yes
 
-NLS_CONFIGURE_ENABLE=	nls
-NLS_USES=	autoreconf gettext
+CFLAGS=		-D_WITH_CPU_SET_T
 
 PLIST_FILES=	bin/flock man/man1/flock.1.gz \
 		etc/bash_completion.d/flock
 
+OPTIONS_DEFINE=	NLS
+
+NLS_USES=	autoreconf gettext
+NLS_CONFIGURE_ENABLE=	nls
+
 do-build:
 	# skip building unneeded utils
 	${MAKE} -C ${WRKSRC} flock
diff --git a/sysutils/flock/distinfo b/sysutils/flock/distinfo
index cda29fb160bd..e570a67f7445 100644
--- a/sysutils/flock/distinfo
+++ b/sysutils/flock/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1504499806
-SHA256 (util-linux-2.30.1.tar.gz) = 88bb1d08f0d67fb1b548c3e2160f7f40fb552cdf6b771a5dd1b94e1e04fc1d9a
-SIZE (util-linux-2.30.1.tar.gz) = 9513750
+TIMESTAMP = 1640072142
+SHA256 (util-linux-2.37.2.tar.gz) = 15db966474e459b33fa390a6b892190a92079a73ca45384cde4c86e6ed265a86
+SIZE (util-linux-2.37.2.tar.gz) = 12232498