aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>1999-04-11 20:07:11 +0800
committerkris <kris@FreeBSD.org>1999-04-11 20:07:11 +0800
commit72edfa61297e7de7faed8426e79fc4e1f5d5c0c7 (patch)
tree6a02ff1934214563134a1fb241f301de6edbd329
parente0ac2072dc6ea9e3105e384e741a5f6ea274e74c (diff)
downloadfreebsd-ports-gnome-72edfa61297e7de7faed8426e79fc4e1f5d5c0c7.tar.gz
freebsd-ports-gnome-72edfa61297e7de7faed8426e79fc4e1f5d5c0c7.tar.zst
freebsd-ports-gnome-72edfa61297e7de7faed8426e79fc4e1f5d5c0c7.zip
Respect CC and CFLAGS
-rw-r--r--audio/cdd/files/patch-aa16
1 files changed, 9 insertions, 7 deletions
diff --git a/audio/cdd/files/patch-aa b/audio/cdd/files/patch-aa
index b140990269f9..463bc3e91fbb 100644
--- a/audio/cdd/files/patch-aa
+++ b/audio/cdd/files/patch-aa
@@ -1,11 +1,13 @@
---- Makefile.orig Sun May 18 22:34:28 1997
-+++ Makefile Thu Dec 31 12:06:38 1998
-@@ -1,11 +1,12 @@
- CC = cc
+--- Makefile.orig Mon May 19 06:04:28 1997
++++ Makefile Sun Apr 11 20:42:32 1999
+@@ -1,11 +1,13 @@
+-CC = cc
-CFLAGS = -O3 -Wall -DNETWORK_DB -I./st
-LDFLAGS = -lscsi
-STLIB = ./st/libst.a
-+CFLAGS = -O3 -Wall -DNETWORK_DB -I./st -I.
++CC ?= cc
++CFLAGS ?= -O3
++CFLAGS += -Wall -DNETWORK_DB -I./st -I.
+LDFLAGS =
+STLIB = st/libst.a
@@ -16,7 +18,7 @@
cdd_toshibacmds.o
PCMPLAY_OBJECTS = pcmplay.o
-@@ -14,6 +15,9 @@
+@@ -14,6 +16,9 @@
all: cdd pcmplay stripzeros
@@ -26,7 +28,7 @@
$(CDD_OBJECTS): cdd.h
pcmplay: $(PCMPLAY_OBJECTS)
-@@ -22,7 +26,7 @@
+@@ -22,7 +27,7 @@
stripzeros: $(STRIPZEROS_OBJECTS)
$(CC) $(CFLAGS) -o $@ $(STRIPZEROS_OBJECTS) $(LDFLAGS)