openbsd-ports/security/cfs/patches/patch-Makefile
sturm 47b40eba3b update to cfs 1.4.1
CFS was actually broken since at least 3.2 or so, but should work now
again on 32-bit archs. 64-bit archs are still broken and won't be
fixed anytime soon.

I also set PERMIT_*=Yes, as the "no fee" part of the license is clearly
due to bad english.

xsa@ helped testing
2004-06-15 18:32:22 +00:00

30 lines
836 B
Plaintext

$OpenBSD: patch-Makefile,v 1.2 2004/06/15 18:32:22 sturm Exp $
--- Makefile.orig 2001-05-03 20:29:21.000000000 +0200
+++ Makefile 2004-06-10 10:52:30.000000000 +0200
@@ -74,8 +74,8 @@
#CC=cc
#COPT=-O -DNOT_ANSI_C -DPROTOTYPES=0
# for gcc, use
-CC=gcc
-COPT=-O2 -DPROTOTYPES=1
+#CC=gcc
+COPT=-DPROTOTYPES=1
#1B: paths:
#some peple like /usr/local/sbin instead of /usr/local/etc
@@ -199,6 +199,14 @@ RINCLUDES=/usr/mab/rsaref/source
#COMPAT=-lcompat
#RPCOPTS=
+##use these for OpenBSD i386 2.0 (Niels Provos)
+# for mounting, you need to use a command like:
+# mount -o port=3049,nfsv2,intr localhost:/null /crypt
+CFLAGS=$(COPT) -DBSD44 -DANYPORT
+LIBS=
+COMPAT=-lcompat
+RPCOPTS=
+
##Use these for NetBSD i386 1.0 (John Kohl)
## For mounting, you need to use a command like:
## mount -o -P,-c localhost:/null /crypt