From e2f1161e05db0648b9807054386b8747703cccfd Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Tue, 23 Mar 1999 11:30:35 +0000 Subject: Cause the makefile to respect CC and CFLAGS during compilation. Reviewed by: John Polstra (Maintainer) --- security/cfs/files/patch-aa | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'security/cfs/files') 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= -- cgit v1.2.3