1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/security/cfs/files/patch-aa
Brian Feldman 865ed821c5 Update to cfs version 1.4.0 beta 2.
Submitted by:	Ollivier Robert <roberto@FreeBSD.org>
2000-05-23 01:02:39 +00:00

35 lines
912 B
Plaintext

--- Makefile.orig Sat Dec 20 10:57:08 1997
+++ Makefile Mon May 22 18:38:56 2000
@@ -74,8 +74,9 @@
#CC=cc
#COPT=-O -DNOT_ANSI_C -DPROTOTYPES=0
# for gcc, use
-CC=gcc
-COPT=-O2 -DPROTOTYPES=1
+CC?=gcc
+CFLAGS?=-O2
+CFLAGS+=-DPROTOTYPES=1
#1B: paths:
#some peple like /usr/local/sbin instead of /usr/local/etc
@@ -217,12 +218,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+=-DBSD44 -DANYPORT -DSHORTLINKS
+LIBS=-lrpcsvc
+COMPAT=-lcompat
+RPCOPTS=
+
#==========================================================================
# (3/3) CONFIGURE: one last thing
#==========================================================================
# finally, comment out the next line:
-CC=you_forgot_to_edit_the_makefile
+#CC=you_forgot_to_edit_the_makefile
# now you're done with local configuration.