summaryrefslogtreecommitdiff
blob: ec5189287ac938b18145f1aff658ce7e5522f27f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
diff -Naur boxes-1.0.1-orig/Makefile boxes-1.0.1/Makefile
--- boxes-1.0.1-orig/Makefile	2007-01-17 17:53:39.000000000 -0600
+++ boxes-1.0.1/Makefile	2007-01-17 17:54:13.000000000 -0600
@@ -51,7 +51,7 @@
 
 
 # The following line (GLOBALCONF) is the only line you should need to edit!
-GLOBALCONF = /usr/local/share/boxes
+GLOBALCONF = /usr/share/boxes/boxes-config
 BVERSION   = 1.0.1
 
 SNAPFILE   = boxes-SNAP-$(shell date +%Y%m%d)
diff -Naur boxes-1.0.1-orig/src/Makefile boxes-1.0.1/src/Makefile
--- boxes-1.0.1-orig/src/Makefile	2007-01-17 17:53:39.000000000 -0600
+++ boxes-1.0.1/src/Makefile	2007-01-17 17:54:31.000000000 -0600
@@ -79,7 +79,7 @@
 LEX        = flex
 YACC       = bison
 CC         = gcc
-CFLAGS     = -ansi -I. -Iregexp -Wall -W $(CFLAGS_ADDTL)
+CFLAGS     += -ansi -I. -Iregexp -Wall -W $(CFLAGS_ADDTL)
 LDFLAGS    = -Lregexp
 
 GEN_HDR    = parser.h boxes.h
@@ -99,8 +99,7 @@
 
 
 build:
-	$(MAKE) CFLAGS_ADDTL=-O boxes
-	strip boxes
+	$(MAKE) boxes
 debug:
 	$(MAKE) CFLAGS_ADDTL=-g boxes
 
diff -Naur boxes-1.0.1-orig/src/regexp/Makefile boxes-1.0.1/src/regexp/Makefile
--- boxes-1.0.1-orig/src/regexp/Makefile	2007-01-17 17:53:39.000000000 -0600
+++ boxes-1.0.1/src/regexp/Makefile	2007-01-17 17:54:13.000000000 -0600
@@ -32,7 +32,7 @@
 #============================================================================
 
 
-CFLAGS   = -traditional -O -I. $(CFLAGS_ADDTL)
+CFLAGS   += -I. $(CFLAGS_ADDTL)
 
 ALL_CL   = regexp/regexp.c regexp/regsub.c
 C_SRC    = $(notdir $(ALL_CL))