summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-09-05 02:24:20 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-09-05 02:24:20 +0000
commit41b872ea78a55d92e8736f96a8e728535a62aa70 (patch)
treed95ab9b7948b18fbb8304a9d0b93fe613f8803a6 /misc
parentFix build on -current by removing bogus duplicate declarations of things (diff)
Respect CC and CFLAGS
Notes
Notes: svn path=/head/; revision=65632
Diffstat (limited to 'misc')
-rw-r--r--misc/cwish/files/patch-0124
1 files changed, 20 insertions, 4 deletions
diff --git a/misc/cwish/files/patch-01 b/misc/cwish/files/patch-01
index 44627f4f2424..fed7739b6a9b 100644
--- a/misc/cwish/files/patch-01
+++ b/misc/cwish/files/patch-01
@@ -1,6 +1,22 @@
---- Makefile.FreeBSD.orig Fri Aug 30 04:41:24 1996
-+++ Makefile.FreeBSD Fri Sep 25 02:51:25 1998
-@@ -71,12 +71,12 @@
+--- Makefile.FreeBSD.orig Fri Jul 30 01:59:53 1999
++++ Makefile.FreeBSD Wed Sep 4 19:23:55 2002
+@@ -6,7 +6,7 @@
+ #
+ #---------------------------------------------------------------------------
+
+-CC= cc
++CC?= cc
+ NAME= cwish
+ DEST= /usr/local/bin
+ MANDIR= /usr/local/man
+@@ -34,18 +34,18 @@
+ #LFLAGS= -ldncurses -lmytinfo
+
+ #-- FreeBSD production ------------------------------------------------------
+-CFLAGS= -O2 -Wall -pipe $(DEFS)
++CFLAGS+= -Wall $(DEFS)
+ LFLAGS= -lncurses -lmytinfo
+
CFILES= cwish.c files.c movement.c commandline.c rcinit.c \
fkeys.c paging.c cursor.c header.c history.c help.c \
@@ -14,4 +30,4 @@
+ showtime.o config.o chdir.o complete.o\
system.o usage.o
- HFILES= config.h control.h cwish.h rcinit.h patchlevel.h
+ HFILES= config.h control.h cwish.h rcinit.h version.h