aboutsummaryrefslogtreecommitdiffstats
path: root/misc/bbjd/files
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-02-07 08:58:53 +0800
committerkris <kris@FreeBSD.org>2000-02-07 08:58:53 +0800
commit8862134e320f55e2ebebe6a4c8241bc3a459f9de (patch)
treece0865bd4e3640b5c6d4126c8c649b25ebc5a7a2 /misc/bbjd/files
parentce674106fe357abae9d8be260f1d17d21950ab24 (diff)
downloadfreebsd-ports-gnome-8862134e320f55e2ebebe6a4c8241bc3a459f9de.tar.gz
freebsd-ports-gnome-8862134e320f55e2ebebe6a4c8241bc3a459f9de.tar.zst
freebsd-ports-gnome-8862134e320f55e2ebebe6a4c8241bc3a459f9de.zip
Respect CC
Diffstat (limited to 'misc/bbjd/files')
-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 fe17da45b715..ebd05b7b6d06 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