From e0e78ff7d00af97ddfc50fae1702dd1b779b0e85 Mon Sep 17 00:00:00 2001 From: jmmv Date: Sat, 8 Oct 2005 12:30:38 +0000 Subject: For packages using libao, add a default dependency on a plugin (either oss or sun), based on the current OS name. This is only used if no other libao plugin is installed, and is binary package friendly. Addresses PR pkg/30920 by Chuck Cranor. --- audio/libao-oss/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'audio/libao-oss') diff --git a/audio/libao-oss/Makefile b/audio/libao-oss/Makefile index 67a3766ff89..2dfaae74075 100644 --- a/audio/libao-oss/Makefile +++ b/audio/libao-oss/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2005/05/20 19:20:56 jmmv Exp $ +# $NetBSD: Makefile,v 1.2 2005/10/08 12:30:38 jmmv Exp $ .include "../libao/Makefile.common" @@ -21,6 +21,8 @@ SUBST_SED.oss+= -e 's|/dev/sound/dsp|${DEVOSSAUDIO}|g' BUILDLINK_DEPENDS.libao+= libao>=0.8.6nb1 +_LIBAO_BUILDING_PLUGIN= yes + .include "../../audio/libao/buildlink3.mk" .include "../../mk/ossaudio.buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3