git: 025aafa796ca - main - graphics/zbar: fix to allow building without NLS

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Tue, 07 Mar 2023 09:04:59 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=025aafa796cace2e65c56f502162eb3b151d520b

commit 025aafa796cace2e65c56f502162eb3b151d520b
Author:     Andrew <andrew.fengler@scaleengine.com>
AuthorDate: 2023-03-06 11:23:22 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-03-07 09:00:26 +0000

    graphics/zbar: fix to allow building without NLS
    
    PR:             269962
    Reported by:    andrew.fengler@scaleengine.com
    Approved by:    dev2@heesakkers.info (maintainer)
---
 graphics/zbar/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/graphics/zbar/Makefile b/graphics/zbar/Makefile
index 93f8f188c5c8..3b2357dccf61 100644
--- a/graphics/zbar/Makefile
+++ b/graphics/zbar/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	zbar
 DISTVERSION=	0.23.90
 CATEGORIES=	graphics
+PORTREVISION=	1
 MASTER_SITES=	https://linuxtv.org/downloads/zbar/
 
 MAINTAINER=	dev2@heesakkers.info
@@ -9,7 +10,7 @@ WWW=		https://github.com/mchehab/zbar/
 
 LICENSE=	LGPL21
 
-USES=		autoreconf gmake iconv libtool localbase:ldflags pathfix pkgconfig
+USES=		autoreconf gettext-tools gmake iconv libtool localbase:ldflags pathfix pkgconfig
 USE_LDCONFIG=	yes
 
 GNU_CONFIGURE=	yes
@@ -64,7 +65,7 @@ IMAGEMAGICK_CONFIGURE_WITH=	imagemagick
 JPEG_USES=			jpeg
 JPEG_CONFIGURE_WITH=		jpeg
 
-NLS_USES=			gettext
+NLS_USES=			gettext-runtime
 NLS_LDFLAGS=			-lintl
 NLS_CONFIGURE_ENABLE=		nls