summaryrefslogtreecommitdiff
path: root/security/libbf/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'security/libbf/patches/patch-aa')
-rw-r--r--security/libbf/patches/patch-aa47
1 files changed, 47 insertions, 0 deletions
diff --git a/security/libbf/patches/patch-aa b/security/libbf/patches/patch-aa
new file mode 100644
index 00000000000..b17c06a204c
--- /dev/null
+++ b/security/libbf/patches/patch-aa
@@ -0,0 +1,47 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/11/29 11:26:45 rh Exp $
+
+--- Makefile.orig Mon Nov 27 22:43:22 2000
++++ Makefile
+@@ -16,31 +16,31 @@
+ # There are 3 possible performance options, experiment :-)
+ #OPTS= -DBF_PTR # usr for sparc and MIPS/SGI
+ #OPTS= -DBF_PTR2 # use for pentium
+-OPTS= # use for pentium pro, Alpha and HP
++#OPTS= # use for pentium pro, Alpha and HP
+
+ MAKE=make -f Makefile
+ #CC=cc
+ #CFLAG= -O
+
+-CC=gcc
++#CC=gcc
+ #CFLAG= -O4 -funroll-loops -fomit-frame-pointer
+-CFLAG= -O3 -fomit-frame-pointer
++#CFLAG= -O3 -fomit-frame-pointer
+
+-CFLAGS=$(OPTS) $(CFLAG)
+-CPP=$(CC) -E
+-AS=as
++#CFLAGS=$(OPTS) $(CFLAG)
++CPP?=$(CC) -E
++AS?=as
+
+ # Assember version of bf_encrypt().
+-BF_ENC=bf_enc.o # normal C version
++BF_ENC?=bf_enc.o # normal C version
+ #BF_ENC=asm/bx86-elf.o # elf format x86
+ #BF_ENC=asm/bx86-out.o # a.out format x86
+ #BF_ENC=asm/bx86-sol.o # solaris format x86
+ #BF_ENC=asm/bx86bsdi.o # bsdi format x86
+
+-LIBDIR=/usr/local/lib
+-BINDIR=/usr/local/bin
+-INCDIR=/usr/local/include
+-MANDIR=/usr/local/man
++LIBDIR=${PREFIX}/lib
++BINDIR=${PREFIX}/bin
++INCDIR=${PREFIX}/include
++MANDIR=${PREFIX}/man
+ MAN1=1
+ MAN3=3
+ SHELL=/bin/sh