1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/audio/s3mod/files/patch-ab

39 lines
1.0 KiB
Plaintext
Raw Normal View History

1998-09-28 01:47:30 +00:00
--- Makefile.orig Sat Oct 21 14:48:51 1995
+++ Makefile Fri Sep 25 13:37:52 1998
@@ -9,7 +9,6 @@
RM = rm
LN = ln -s
-CFLAGS = -O2
LFLAGS =
OBJS = mod.o s3m.o main.o play.o mix.o cmdline.o dsp.o gus.o
@@ -24,6 +23,7 @@
@echo " make sun - SunOS/Solaris"
@echo " make sgi - SGI Irix"
@echo " make linux - Voxware DSP/GUS"
+ @echo " make freebsd - Voxware DSP/GUS"
@echo " make dec - Dec OSF/1"
@echo " make clean - remove all .o files"
@echo " make clobber - remove all .o and targets"
@@ -51,6 +51,9 @@
$(LN) DspDrivers/linux_dsp.c dsp.c
make CC=gcc CFLAGS=-O2 DEFINES="-DLINUX -DGUS" s3mod
+freebsd:
+ make CC=gcc CFLAGS="$(CFLAGS)" DEFINES="-DGUS" s3mod
+
s3mod: $(OBJS)
$(CC) $(CFLAGS) -o s3mod $(OBJS) $(LFLAGS) $(LIBS)
@@ -62,6 +65,9 @@
dep:
makedepend $(CFLAGS) $(LFLAGS) $(LIBS) $(CFILES)
+
+install:
+ install -c -m 555 s3mod /usr/local/bin
# DO NOT DELETE THIS LINE -- make depend depends on it.