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
This commit is contained in:
Charlie Li 2021-05-11 23:47:04 -04:00
parent 57eabeb80b
commit ef51954501
No known key found for this signature in database
GPG key ID: FEB7852BE29B3E87

View file

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