summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-02-07 00:58:53 +0000
committerkris <kris@FreeBSD.org>2000-02-07 00:58:53 +0000
commit8862134e320f55e2ebebe6a4c8241bc3a459f9de (patch)
treece0865bd4e3640b5c6d4126c8c649b25ebc5a7a2
parentce674106fe357abae9d8be260f1d17d21950ab24 (diff)
downloadFreeBSD-ports-8862134e320f55e2ebebe6a4c8241bc3a459f9de.zip
FreeBSD-ports-8862134e320f55e2ebebe6a4c8241bc3a459f9de.tar.gz
Respect CC
-rw-r--r--misc/bbjd/files/patch-aa20
1 files changed, 16 insertions, 4 deletions
diff --git a/misc/bbjd/files/patch-aa b/misc/bbjd/files/patch-aa
index fe17da4..ebd05b7 100644
--- a/misc/bbjd/files/patch-aa
+++ b/misc/bbjd/files/patch-aa
@@ -1,6 +1,14 @@
---- Makefile.orig Mon Oct 26 05:47:44 1998
-+++ Makefile Sun Feb 14 17:39:37 1999
-@@ -13,8 +13,8 @@
+--- Makefile.orig Mon Oct 26 02:47:44 1998
++++ Makefile Sun Feb 6 16:58:34 2000
+@@ -6,18 +6,18 @@
+ OBJECTS = $(SOURCES:.c=.o)
+
+ ######## compiler options ########
+-CC = gcc
++CC ?= gcc
+ LANG_OPTIONS =
+ WARN_OPTIONS = -Wall -Wtraditional -Wpointer-arith \
+ -Wconversion -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wreturn-type \
-Wnested-externs -Wwrite-strings -Wcast-qual
INCDIR = -I. -I/usr/include
@@ -10,7 +18,11 @@
+CFLAGS+= $(DEFINES) $(LANG_OPTIONS) $(WARN_OPTIONS) $(INCDIR)
######## link options ########
- LD = gcc
+-LD = gcc
++LD = $(CC)
+ LIBDIR =
+ LIBRARIES = #-lm
+ LDFLAGS = $(LIBDIR)
@@ -36,7 +36,7 @@
%o: %c
OpenPOWER on IntegriCloud