diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/s3mod/files/patch-ab | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/audio/s3mod/files/patch-ab b/audio/s3mod/files/patch-ab index 5c48ae012496..cf62d2404c21 100644 --- a/audio/s3mod/files/patch-ab +++ b/audio/s3mod/files/patch-ab @@ -1,8 +1,15 @@ ---- 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 +--- Makefile.orig Sat Oct 21 12:48:51 1995 ++++ Makefile Sat Jun 19 02:56:40 1999 +@@ -5,11 +5,10 @@ + # + ######## + +-CC = gcc +-RM = rm +-LN = ln -s ++CC ?= gcc ++RM ?= rm ++LN += -s -CFLAGS = -O2 LFLAGS = @@ -21,7 +28,7 @@ make CC=gcc CFLAGS=-O2 DEFINES="-DLINUX -DGUS" s3mod +freebsd: -+ make CC=gcc CFLAGS="$(CFLAGS)" DEFINES="-DGUS" s3mod ++ make CFLAGS="$(CFLAGS)" DEFINES="-DGUS" s3mod + s3mod: $(OBJS) $(CC) $(CFLAGS) -o s3mod $(OBJS) $(LFLAGS) $(LIBS) @@ -32,7 +39,7 @@ makedepend $(CFLAGS) $(LFLAGS) $(LIBS) $(CFILES) + +install: -+ install -c -m 555 s3mod /usr/local/bin ++ install -c -m 555 s3mod ${PREFIX}/bin # DO NOT DELETE THIS LINE -- make depend depends on it. |