diff options
author | kris <kris@FreeBSD.org> | 1999-03-23 19:30:35 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 1999-03-23 19:30:35 +0800 |
commit | 9abe729e11cedfb3af05537bfea9e3e765d16f52 (patch) | |
tree | 9cc4f504087fee43ed80ec8ce762e5d560b21c83 /security/cfs | |
parent | 8dffd9d5657e419b931e7603489020210eadf71e (diff) | |
download | freebsd-ports-gnome-9abe729e11cedfb3af05537bfea9e3e765d16f52.tar.gz freebsd-ports-gnome-9abe729e11cedfb3af05537bfea9e3e765d16f52.tar.zst freebsd-ports-gnome-9abe729e11cedfb3af05537bfea9e3e765d16f52.zip |
Cause the makefile to respect CC and CFLAGS during compilation.
Reviewed by: John Polstra (Maintainer)
Diffstat (limited to 'security/cfs')
-rw-r--r-- | security/cfs/files/patch-aa | 20 |
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= |