diff options
author | steve <steve@FreeBSD.org> | 1998-09-28 09:47:30 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-09-28 09:47:30 +0800 |
commit | f94054caa38c8ad68e12e2d9dc7dca48da177249 (patch) | |
tree | 78cadc1577eceb0cb4d814fcdbc4de068941232b | |
parent | af712b8558142e679c485b7d4d10cef1cce9a3f4 (diff) | |
download | freebsd-ports-gnome-f94054caa38c8ad68e12e2d9dc7dca48da177249.tar.gz freebsd-ports-gnome-f94054caa38c8ad68e12e2d9dc7dca48da177249.tar.zst freebsd-ports-gnome-f94054caa38c8ad68e12e2d9dc7dca48da177249.zip |
Make this port reinstall friendly.
-rw-r--r-- | audio/s3mod/files/patch-aa | 38 | ||||
-rw-r--r-- | audio/s3mod/files/patch-ab | 38 |
2 files changed, 38 insertions, 38 deletions
diff --git a/audio/s3mod/files/patch-aa b/audio/s3mod/files/patch-aa index 4d043dbba277..e49f2e5d1cf6 100644 --- a/audio/s3mod/files/patch-aa +++ b/audio/s3mod/files/patch-aa @@ -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. - diff --git a/audio/s3mod/files/patch-ab b/audio/s3mod/files/patch-ab new file mode 100644 index 000000000000..5c48ae012496 --- /dev/null +++ b/audio/s3mod/files/patch-ab @@ -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. + |