From fa8a41580f5ca3c482656c34edf354f91cfea3aa Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sun, 12 Feb 2017 17:19:29 +0000 Subject: [PATCH] audio/alsa-utils: switch to a light xmlto replacement Submitted by: bapt (based on) MFH: 2017Q1 Differential Revision: https://reviews.freebsd.org/D9556 --- audio/alsa-utils/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/audio/alsa-utils/Makefile b/audio/alsa-utils/Makefile index 3b9a22b0c598..319bc3b72df7 100644 --- a/audio/alsa-utils/Makefile +++ b/audio/alsa-utils/Makefile @@ -30,7 +30,8 @@ BAT_DESC= Basic Audio Tester support BAT_LIB_DEPENDS=libfftw3.so:math/fftw3 BAT_CONFIGURE_ENABLE=bat -MANPAGES_BUILD_DEPENDS= xmlto:textproc/xmlto +MANPAGES_BUILD_DEPENDS= minixmlto:textproc/minixmlto +MANPAGES_CONFIGURE_ENV= ac_cv_prog_xmlto=minixmlto MANPAGES_CONFIGURE_ENABLE=xmlto NLS_USES= gettext @@ -42,7 +43,10 @@ SAMPLERATE_CONFIGURE_ENV_OFF=ac_cv_header_samplerate_h=no post-patch: .SILENT ${REINPLACE_CMD} -e '/LIBS/s/-ldl//g; /LIBRT/s/-lrt//g;' \ + -e '/x"$$xmlto"/s/= xyes/!= xno/' \ ${WRKSRC}/configure + ${REINPLACE_CMD} -e 's/ xmlto/ $$(xmlto)/' \ + ${WRKSRC}/alsactl/Makefile.in ${FIND} -E ${WRKSRC} -type f -regex \ '.*\.([[:digit:]]|spec\.in|csv|xml)' -exec \ ${REINPLACE_CMD} -i .pathfix.bak \