summaryrefslogtreecommitdiff
path: root/security/cfs
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>1999-03-23 11:30:35 +0000
committerKris Kennaway <kris@FreeBSD.org>1999-03-23 11:30:35 +0000
commite2f1161e05db0648b9807054386b8747703cccfd (patch)
tree1c80596de78b713fe249a3242c157ed204ff6e65 /security/cfs
parentNuke net/am-utils, it's been in the base system for a while now. (diff)
Cause the makefile to respect CC and CFLAGS during compilation.
Reviewed by: John Polstra (Maintainer)
Notes
Notes: svn path=/head/; revision=17360
Diffstat (limited to 'security/cfs')
-rw-r--r--security/cfs/files/patch-aa20
1 files changed, 16 insertions, 4 deletions
diff --git a/security/cfs/files/patch-aa b/security/cfs/files/patch-aa
index 2adf405acb85..bd60941df05d 100644
--- a/security/cfs/files/patch-aa
+++ b/security/cfs/files/patch-aa
@@ -1,11 +1,23 @@
---- Makefile.orig Wed Mar 20 09:59:03 1996
-+++ Makefile Wed Jul 30 12:04:03 1997
-@@ -193,12 +193,18 @@
+--- Makefile.orig Wed Dec 25 15:43:50 1996
++++ Makefile Mon Mar 22 23:12:48 1999
+@@ -71,8 +71,9 @@
+ #CC=cc
+ #COPT=-O -DNOT_ANSI_C -DPROTOTYPES=0
+ # for gcc, use
+-CC=gcc
+-COPT=-O2 -DPROTOTYPES=1 -DNOTDEF
++CC?=gcc
++CFLAGS?=-O2
++CFLAGS+=-DPROTOTYPES=1 -DNOTDEF
+
+ #1B: paths:
+ BINDIR=/usr/local/bin
+@@ -193,12 +194,18 @@
## not sure what to do for NeXT. I think this works:
#CFLAGS=$(COPT) -posix -D_BSD -DANYPORT -I$(RINCLUDES)
+## use these for FreeBSD
-+CFLAGS=$(COPT) -DBSD44 -DANYPORT -DSHORTLINKS
++CFLAGS+=-DBSD44 -DANYPORT -DSHORTLINKS
+LIBS=-lrpcsvc
+COMPAT=-lcompat
+RPCOPTS=