From a04785c89c046b6ce0a015753973aefbe10905df Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 6 Aug 2007 05:28:36 +0000 Subject: Add an option to turn on OSS support (instead of turning it off unconditionally), for DragonFly. Based on a patch provided by Steve O'Hara-Smith on pkgsrc-users. While here, split off options handling into an options.mk file. --- audio/sox/patches/patch-aa | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'audio/sox/patches') diff --git a/audio/sox/patches/patch-aa b/audio/sox/patches/patch-aa index 80ff3baeb8c..89ce9315efd 100644 --- a/audio/sox/patches/patch-aa +++ b/audio/sox/patches/patch-aa @@ -1,12 +1,22 @@ -$NetBSD: patch-aa,v 1.10 2007/02/22 23:23:04 wiz Exp $ +$NetBSD: patch-aa,v 1.11 2007/08/06 05:28:37 wiz Exp $ ---- configure.orig 2007-02-22 22:45:00.000000000 +0000 +--- configure.orig 2007-02-11 19:48:36.000000000 +0000 +++ configure -@@ -20972,6 +20972,7 @@ fi +@@ -20671,6 +20671,8 @@ _ACEOF + + fi + ++if test "$with_oss" != no; then ++ + with_oss=no + + for ac_header in sys/soundcard.h +@@ -20972,6 +20974,8 @@ fi done -+with_oss=no ++fi ++ if test "$with_oss" = yes; then cat >>confdefs.h <<\_ACEOF -- cgit v1.2.3