diff options
author | cpiazza <cpiazza@FreeBSD.org> | 1999-06-19 10:00:15 +0000 |
---|---|---|
committer | cpiazza <cpiazza@FreeBSD.org> | 1999-06-19 10:00:15 +0000 |
commit | db8bc578595e56fc31f01296259c1442a20cebed (patch) | |
tree | f71a34cd6a11489c1c70beb6e6abb83268ad1964 /audio/s3mod | |
parent | 8ef1b2860b2134a6927966b840c66a5b83ba3e8b (diff) | |
download | FreeBSD-ports-db8bc578595e56fc31f01296259c1442a20cebed.zip FreeBSD-ports-db8bc578595e56fc31f01296259c1442a20cebed.tar.gz |
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/s3mod')
-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 5c48ae0..cf62d24 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. |