summaryrefslogtreecommitdiff
path: root/misc/boxes/files/patch-ab
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-10-21 01:00:52 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-10-21 01:00:52 +0000
commita735943d25bc4fdb0f88a6ba6b02db5e6f839e51 (patch)
treecdb19b8e2bc1f04ac519ea597aeb460df2756070 /misc/boxes/files/patch-ab
parentFix build on -current (_exit() -> _exit(0)) (diff)
Fix build on -current (don't try and build with cc -traditional).
Respect CC and CFLAGS
Notes
Notes: svn path=/head/; revision=68465
Diffstat (limited to '')
-rw-r--r--misc/boxes/files/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/boxes/files/patch-ab b/misc/boxes/files/patch-ab
new file mode 100644
index 000000000000..55497855b01c
--- /dev/null
+++ b/misc/boxes/files/patch-ab
@@ -0,0 +1,13 @@
+--- ./src/Makefile.orig Sun Oct 20 17:58:59 2002
++++ ./src/Makefile Sun Oct 20 17:59:05 2002
+@@ -78,8 +78,8 @@
+
+ LEX = flex
+ YACC = bison
+-CC = gcc
+-CFLAGS = -ansi -I. -Iregexp -Wall -W $(CFLAGS_ADDTL)
++CC ?= cc
++CFLAGS += -ansi -I. -Iregexp -Wall -W $(CFLAGS_ADDTL)
+ LDFLAGS = -Lregexp
+
+ GEN_HDR = parser.h boxes.h