mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Make this port reinstall friendly.
This commit is contained in:
parent
ac54d982f7
commit
d62d648e69
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13471
2 changed files with 38 additions and 38 deletions
|
@ -134,41 +134,3 @@
|
|||
|
||||
#define ERR_SEQUENCER 51
|
||||
#define ERR_NOGUS 53
|
||||
--- Makefile.orig Sun Oct 22 03:48:51 1995
|
||||
+++ Makefile Sun Jun 8 01:03:46 1997
|
||||
@@ -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 -m 555 s3mod /usr/local/bin
|
||||
|
||||
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
||||
|
||||
|
|
38
audio/s3mod/files/patch-ab
Normal file
38
audio/s3mod/files/patch-ab
Normal file
|
@ -0,0 +1,38 @@
|
|||
--- 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.
|
||||
|
Loading…
Add table
Reference in a new issue