graphics/zbar: fix to allow building without NLS

PR:		269962
Reported by:	andrew.fengler@scaleengine.com
Approved by:	dev2@heesakkers.info (maintainer)
This commit is contained in:
Andrew 2023-03-06 12:23:22 +01:00 committed by Fernando Apesteguía
parent 354c8ccfa6
commit 025aafa796

View file

@ -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