aboutsummaryrefslogtreecommitdiff
path: root/audio/s3mod
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-06-19 10:00:15 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-06-19 10:00:15 +0000
commitaed27b7dd52176da6e91268ef2dc8a6318889a28 (patch)
tree9712da3e0e87cca83e3498ef14aa97d90f8c5b1b /audio/s3mod
parentb8585c7f5c775134ad445098b9c9ace50d9e77cc (diff)
downloadports-aed27b7dd52176da6e91268ef2dc8a6318889a28.tar.gz
ports-aed27b7dd52176da6e91268ef2dc8a6318889a28.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>
Notes
Notes: svn path=/head/; revision=19562
Diffstat (limited to 'audio/s3mod')
-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.