1 $NetBSD: patch-ab,v 1.2 2005/11/11 16:49:32 joerg Exp $
3 --- bplaysrc/Makefile.orig 2000-03-27 21:24:46.000000000 +0000
5 @@ -6,18 +6,27 @@ OBJS = bplay.o sndfunc.o shmbuf.o ../yes
6 ../clrscr.o ../secshms.o
7 #SRCS = bplay.c sndfunc.o shmbuf.c
14 ########## CHOOSE YOUR ARCHITECTURE: (NOTE: also see ../Makefile!)
16 +OS= $(shell uname -s)
19 # For Linux (and maybe others), use these:
20 CFLAGS = -Wall -O2 -DUSEBUFFLOCK -DREDHAT50 -DLP2CD -DVUMETER # -DDEBUG
24 +ifeq (${OS}, DragonFly)
25 +CFLAGS = -Wall -O2 -DLP2CD -DVUMETER
26 +LIBS = -lcurses ${LIBOSSAUDIO}
28 # For FreeBSD (and maybe others), use these:
29 -#CFLAGS = -Wall -O2 -DLP2CD -DVUMETER # -DDEBUG
31 +CFLAGS = -Wall -O2 -DLP2CD -DVUMETER -DOLD_CURSES -D_SEM_SEMUN_UNDEFINED # -DDEBUG
32 +LIBS = -lcurses ${LIBOSSAUDIO}
36 # -DOLD_CURSES can be used here, too.