aboutsummaryrefslogtreecommitdiff
path: root/misc/bbjd
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-02-07 00:58:53 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-02-07 00:58:53 +0000
commit10f077000fde5d08cabc504bd933fa7449953996 (patch)
treefc80dd8e64c817c24615e0d64382f40bb821a640 /misc/bbjd
parenta4ae2537d548838aac93f97a02dfb99cf72df1e6 (diff)
downloadports-10f077000fde5d08cabc504bd933fa7449953996.tar.gz
ports-10f077000fde5d08cabc504bd933fa7449953996.zip
Respect CC
Notes
Notes: svn path=/head/; revision=25538
Diffstat (limited to 'misc/bbjd')
-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