summaryrefslogtreecommitdiff
path: root/deskutils/teapot/files/patch-aa
blob: 37299750585a62decfc6bd15c5f58e8aaf738445 (plain) (blame)
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
47
48
49
50
--- Makefile.orig	Tue Nov 10 06:31:26 1998
+++ Makefile	Sat Oct 28 06:38:38 2000
@@ -1,16 +1,16 @@
 #{{{script}}}#{{{ Linux, moria machines, gcc
-CFLAGS=		-g -pipe -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common
+#CFLAGS=		-g -pipe -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common
 # The XDR library needs _BSD_SOURCE :(
 CPPFLAGS=	-D_BSD_SOURCE
 #CPPFLAGS=	-DTHE_ELECTRIC_FENCE
 #CPPFLAGS=	-I/usr/dmalloc/include -DDMALLOC
-LDFLAGS=	-g
+#LDFLAGS=	-g
 #LDFLAGS=	-g -L/usr/efence/lib
 #LDFLAGS=	-g -L/usr/dmalloc/lib
-LIBS=		-lcurses -lm
+#LIBS=		-lcurses -lm
 #LIBS=		-lcurses -lm -lefence
 #LIBS=		-lcurses -lm -ldmalloc
-MAKEDEPEND=	mkdep -d
+#MAKEDEPEND=	mkdep -d
 #}}}
 #{{{ Linux, Slackware/Redhat/Debian Distribution, gcc
 #CC=		gcc
@@ -22,10 +22,9 @@
 #MAKEDEPEND=	gcc -MM
 #}}}
 #{{{ FreeBSD 2.x, gcc
-#CC=		gcc
-#CFLAGS=		-pipe -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common
-#CPPFLAGS=	-I./.curses.h -DNO_POSIX_SOURCE
-#LIBS=		-lncurses -lmytinfo -lm
+CC?=		gcc
+CFLAGS+=	-pedantic -fno-common -I./.curses.h -DNO_POSIX_SOURCE
+LIBS=		-lncurses -lmytinfo -lm
 #LDFLAGS=	
 #MAKEDEPEND=	gcc -MM
 #}}}
@@ -68,9 +67,9 @@
 #MAKEDEPEND=	makedepend -f-
 #}}}
 #{{{ DEC OSF/1, cc
-CFLAGS=		-O -std1 $(CPPFLAGS)
-CPPFLAGS=	-D_XOPEN_SOURCE -D_OSF_SOURCE
-LIBS=		-lcurses -lm
+#CFLAGS=		-O -std1 $(CPPFLAGS)
+#CPPFLAGS=	-D_XOPEN_SOURCE -D_OSF_SOURCE
+#LIBS=		-lcurses -lm
 MAKEDEPEND=	mkdep -d
 #}}}
 #{{{ AIX 3, xlc