From ef51954501992327c9a56137db0526aa538e7fa4 Mon Sep 17 00:00:00 2001 From: Charlie Li Date: Tue, 11 May 2021 23:47:04 -0400 Subject: [PATCH] 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