freebsd-ports/devel/cs/files/patch-aa
Trevor Johnson 3bd9e343df Update master site. Update from 1998-05-07 to 1999-09-25 release
(both called version 0.5--dates are given in man pages).  Add a
DIST_SUBDIR to distinguish the different releases.  Be more verbose
when installing.  Don't optimize when compiling.  Add WWW: line.
Update PLIST.  Respect ${CC}.  Increment PORTREVISION.

ftp://cantor.informatik.rwth-aachen.de/pub/unix/cs-0.5.tar.gz:
looking for file 500 cs-0.5.tar.gz: No such file or directory.
(Last OK result Mon Nov 27 8:33:50 2000 )

PR:		24091
Submitted by:	Joseph Scott <joseph@randomnetworks.com>,
		KATO Tsuguru <tkato@prontomail.ne.jp> and myself
2001-01-09 18:41:45 +00:00

28 lines
1.1 KiB
Text

--- Makefile.orig Sat Sep 25 06:33:12 1999
+++ Makefile Fri Jan 5 11:09:24 2001
@@ -2,7 +2,7 @@
#DB= BINARY_DB
#{{{script}}}#{{{ Linux, moria machines
-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
CPPFLAGS= -D$(DB)
LDFLAGS= -g
LIBS= -lcurses
@@ -32,11 +32,11 @@
#}}}
#{{{ FreeBSD, gcc, ncurses
#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)
-#CPPFLAGS= -I.curses.h -DNO_POSIX_SOURCE -D$(DB)
-#LIBS= -lncurses -lmytinfo
-#LDFLAGS=
-#MAKEDEPEND= gcc -MM
+CFLAGS+= -pedantic -fno-common $(CPPFLAGS)
+CPPFLAGS= -I.curses.h -DNO_POSIX_SOURCE -D$(DB)
+LIBS= -lncurses -lmytinfo
+LDFLAGS=
+MAKEDEPEND= ${CC} -MM
#}}}
#{{{ BSDI
#CC= gcc