aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-09-05 10:24:20 +0800
committerkris <kris@FreeBSD.org>2002-09-05 10:24:20 +0800
commit7cf6ead2501d49bf6066d191c1939bb78e2f5424 (patch)
treec6f831283e04722495235d3d3777e2253b53c809 /misc
parentd1239c55801f25adb2b36646ac28d23d7a9df533 (diff)
downloadfreebsd-ports-gnome-7cf6ead2501d49bf6066d191c1939bb78e2f5424.tar.gz
freebsd-ports-gnome-7cf6ead2501d49bf6066d191c1939bb78e2f5424.tar.zst
freebsd-ports-gnome-7cf6ead2501d49bf6066d191c1939bb78e2f5424.zip
Respect CC and CFLAGS
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