pkgsrc/audio/libao/Makefile
dbj 28a4abed17 audio/libao: fix Darwin build
libao tried disable the macos plugin by setting a configure
environment variable that didn't work.  This forces the option
off by the SUBST framework to edit the config file.
2019-12-24 05:07:45 +00:00

13 lines
405 B
Makefile

# $NetBSD: Makefile,v 1.36 2019/12/24 05:07:45 dbj Exp $
.include "Makefile.common"
INSTALLATION_DIRS+= lib/ao/plugins-4
SUBST_CLASSES+= disable-macosx
SUBST_MESSAGE.disable-macosx+= Force disabling macosx plugin.
SUBST_STAGE.disable-macosx= pre-configure
SUBST_FILES.disable-macosx= configure.ac
SUBST_SED.disable-macosx= -e 's,have_macosx=yes,have_macosx=disabled,'
.include "../../mk/bsd.pkg.mk"