diff options
Diffstat (limited to 'audio/nspmod/patches/patch-ba')
-rw-r--r-- | audio/nspmod/patches/patch-ba | 92 |
1 files changed, 45 insertions, 47 deletions
diff --git a/audio/nspmod/patches/patch-ba b/audio/nspmod/patches/patch-ba index 4d65abe7267..acc39b05f8f 100644 --- a/audio/nspmod/patches/patch-ba +++ b/audio/nspmod/patches/patch-ba @@ -1,48 +1,46 @@ -$NetBSD: patch-ba,v 1.4 1998/11/24 16:32:06 mycroft Exp $ +$NetBSD: patch-ba,v 1.5 2006/01/12 16:46:21 joerg Exp $ -*** Makefile.orig Sun Sep 17 09:18:20 1995 ---- Makefile Fri Mar 6 05:56:27 1998 -*************** -*** 6,17 **** - - ## Linux -! CFLAGS_OS = -Wall - #CFLAGS_OS += -DDAC_DEV=\"/dev/dsp2\" - #CFLAGS_OS += -pedantic -! CFLAGS_OPT = -g -! CFLAGS_HIOPT = -O2 -funroll-loops -! LDFLAGS_OS = -! LIBS_OS = -! DACIO_ARCH = dacio-linux.c - - ## A certain SVR4.2 based OS ---- 6,17 ---- - - ## Linux -! #CFLAGS_OS = -Wall - #CFLAGS_OS += -DDAC_DEV=\"/dev/dsp2\" - #CFLAGS_OS += -pedantic -! #CFLAGS_OPT = -g -! #CFLAGS_HIOPT = -O2 -funroll-loops -! #LDFLAGS_OS = -! #LIBS_OS = -! #DACIO_ARCH = dacio-linux.c - - ## A certain SVR4.2 based OS -*************** -*** 23,26 **** ---- 23,36 ---- - #LIBS_OS = - #DACIO_ARCH = dacio-ews48.c -+ -+ ## NetBSD -+ CFLAGS_OS = -Wall -+ CFLAGS_OS += -DDAC_DEV=\"/dev/audio\" -+ CFLAGS_OS += -pedantic -+ CFLAGS_OPT = -O2 -+ CFLAGS_HIOPT = -O2 -funroll-loops -+ LDFLAGS_OS = -+ LIBS_OS = -+ DACIO_ARCH = dacio-netbsd.c - - #} +--- Makefile.orig 1995-09-17 13:18:20.000000000 +0000 ++++ Makefile +@@ -5,14 +5,14 @@ LIBS_EXT = + #{ OS specific part + + ## Linux +-CFLAGS_OS = -Wall ++#CFLAGS_OS = -Wall + #CFLAGS_OS += -DDAC_DEV=\"/dev/dsp2\" + #CFLAGS_OS += -pedantic +-CFLAGS_OPT = -g +-CFLAGS_HIOPT = -O2 -funroll-loops +-LDFLAGS_OS = +-LIBS_OS = +-DACIO_ARCH = dacio-linux.c ++#CFLAGS_OPT = -g ++#CFLAGS_HIOPT = -O2 -funroll-loops ++#LDFLAGS_OS = ++#LIBS_OS = ++#DACIO_ARCH = dacio-linux.c + + ## A certain SVR4.2 based OS + #CC = /usr/abiccs/bin/cc +@@ -23,6 +23,20 @@ DACIO_ARCH = dacio-linux.c + #LIBS_OS = + #DACIO_ARCH = dacio-ews48.c + ++## NetBSD ++CFLAGS_OS = -Wall ++CFLAGS_OS += -pedantic ++CFLAGS_OPT = -O2 ++CFLAGS_HIOPT = -O2 -funroll-loops ++LDFLAGS_OS = ++LIBS_OS = ++CFLAGS_OS += -DDAC_DEV=\"/dev/audio\" ++.if ${OPSYS} == "DragonFly" ++DACIO_ARCH = dacio-linux.c ++.else ++DACIO_ARCH = dacio-netbsd.c ++.endif ++ + #} + + CFLAGS = $(CFLAGS_OS) $(CFLAGS_OPT) $(CFLAGS_EXT) |