git: ef5195450199 - main - audio/alsa-utils: fix build with NLS disabled

Charlie Li vishwin at FreeBSD.org
Wed May 12 14:31:43 UTC 2021


The branch main has been updated by vishwin:

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

commit ef51954501992327c9a56137db0526aa538e7fa4
Author:     Charlie Li <vishwin at FreeBSD.org>
AuthorDate: 2021-05-12 03:47:04 +0000
Commit:     Charlie Li <vishwin at FreeBSD.org>
CommitDate: 2021-05-12 14:29:04 +0000

    audio/alsa-utils: fix build with NLS disabled
    
    The configure step requires `autopoint`, which devel/gettext-tools
    provides. While here, split the deprecated USES=gettext into their
    appropriate constituents.
    
    Reported by: leres
    PR: 245321
    Approved by: arrowd (mentor)
    Differential Revision: https://reviews.freebsd.org/D30222
---
 audio/alsa-utils/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/audio/alsa-utils/Makefile b/audio/alsa-utils/Makefile
index aabe03f53995..e32433bd854c 100644
--- a/audio/alsa-utils/Makefile
+++ b/audio/alsa-utils/Makefile
@@ -17,7 +17,8 @@ LIB_DEPENDS=	libasound.so:audio/alsa-lib \
 		libinotify.so:devel/libinotify
 RUN_DEPENDS=	${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins
 
-USES=		autoreconf gmake libtool localbase ncurses shebangfix tar:bzip2 pkgconfig
+USES=		autoreconf gettext-tools gmake libtool localbase ncurses shebangfix \
+		tar:bzip2 pkgconfig
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-udev-rules-dir="\$${prefix}/lib/udev"
 SHEBANG_FILES=	alsa-info/alsa-info.sh alsaconf/alsaconf.in bat/alsabat-test.sh
@@ -40,7 +41,7 @@ MANPAGES_BUILD_DEPENDS=		minixmlto:textproc/minixmlto
 MANPAGES_CONFIGURE_ENV=		ac_cv_prog_xmlto=minixmlto
 MANPAGES_CONFIGURE_ENABLE=	xmlto
 
-NLS_USES=		gettext
+NLS_USES=		gettext-runtime
 NLS_CONFIGURE_ENABLE=	nls
 NLS_LIBS=		-lintl
 


More information about the dev-commits-ports-all mailing list