aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>1999-06-19 18:00:15 +0800
committercpiazza <cpiazza@FreeBSD.org>1999-06-19 18:00:15 +0800
commitdb8bc578595e56fc31f01296259c1442a20cebed (patch)
treef71a34cd6a11489c1c70beb6e6abb83268ad1964 /audio
parent8ef1b2860b2134a6927966b840c66a5b83ba3e8b (diff)
downloadfreebsd-ports-gnome-db8bc578595e56fc31f01296259c1442a20cebed.tar.gz
freebsd-ports-gnome-db8bc578595e56fc31f01296259c1442a20cebed.tar.zst
freebsd-ports-gnome-db8bc578595e56fc31f01296259c1442a20cebed.zip
patch the s3mod port to support PREFIX. While I'm here honour CC, too.
PR: 12212 Submitted by: Nick Hibma <nick.hibma@jrc.it>
Diffstat (limited to 'audio')
-rw-r--r--audio/s3mod/files/patch-ab21
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.