summaryrefslogtreecommitdiff
path: root/security/rsaref/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'security/rsaref/patches/patch-ag')
-rw-r--r--security/rsaref/patches/patch-ag21
1 files changed, 10 insertions, 11 deletions
diff --git a/security/rsaref/patches/patch-ag b/security/rsaref/patches/patch-ag
index c7304991650..04497768079 100644
--- a/security/rsaref/patches/patch-ag
+++ b/security/rsaref/patches/patch-ag
@@ -1,21 +1,16 @@
-$NetBSD: patch-ag,v 1.3 1998/10/02 22:52:49 tv Exp $
-
--- unix/makefile.orig Fri Mar 25 14:01:31 1994
-+++ unix/makefile Tue Jul 14 13:52:28 1998
-@@ -1,11 +1,10 @@
- # This is a makefile for UNIX
-
- # extension for object files
++++ unix/makefile Sun May 23 17:02:59 1999
+@@ -4,8 +4,7 @@
O = o
# commands
-CC = cc
-LIB = ar
-+CC = ${LIBTOOL} --mode=compile cc
++CC := ${LIBTOOL} ${CC}
# name of temporary library script
TEMPFILE = $(TEMP)/temp.mak
-@@ -14,7 +14,7 @@
+@@ -14,18 +13,18 @@
STDINCDIR=/usr/include
# The places to look for include files (in order).
@@ -24,7 +19,11 @@ $NetBSD: patch-ag,v 1.3 1998/10/02 22:52:49 tv Exp $
# name of main executable to build
PROG = all
-@@ -25,7 +25,7 @@
+
+ # Normal C flags.
+-CFLAGS = $(INCL) -O -c -DPROTOTYPES=1
++CFLAGS += $(INCL) -c -DPROTOTYPES=1
+ MFLAGS = -I. -I$(RSAREFDIR)
# The location of the common source directory.
RSAREFDIR = ../source/
@@ -33,7 +32,7 @@ $NetBSD: patch-ag,v 1.3 1998/10/02 22:52:49 tv Exp $
# The location of the demo source directory.
RDEMODIR = ../rdemo/
-@@ -38,11 +38,10 @@
+@@ -38,11 +37,10 @@
dhdemo : dhdemo.$(O) $(RSAREFLIB)
cc -o $@ dhdemo.$(O) $(RSAREFLIB)