git: 64348d34b8cc - main - devel/util-linux: Enable GETOPT option by default

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 02 Nov 2024 12:10:43 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=64348d34b8ccacf8acab22be509eca4e3ea05058

commit 64348d34b8ccacf8acab22be509eca4e3ea05058
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-11-02 11:47:43 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-11-02 11:47:46 +0000

    devel/util-linux: Enable GETOPT option by default
    
    Enable GETOPT option as misc/getopt is being sunset
    
    PR:             281934
    Approved by:    portmgr (maintainer timeout, 2+ weeks)
---
 devel/util-linux/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/devel/util-linux/Makefile b/devel/util-linux/Makefile
index f8877b6474b1..ca51ac292dad 100644
--- a/devel/util-linux/Makefile
+++ b/devel/util-linux/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	util-linux
 DISTVERSION=	2.39.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 MASTER_SITES=	KERNEL_ORG/linux/utils/util-linux/v${DISTVERSION:R}/
 
@@ -38,6 +38,7 @@ TEST_TARGET=	check # tests fail due to https://bugs.freebsd.org/bugzilla/show_bu
 CONFLICTS_INSTALL=	heirloom-doctools
 
 OPTIONS_DEFINE=		CAL FLOCK GETOPT HARDLINK UUID
+OPTIONS_DEFAULT=	GETOPT
 OPTIONS_SUB=		yes
 
 CAL_DESC=		Install util-linux cal(1)