pkgsrc/security/ssleay/patches/patch-ab
tv 3ce6737b37 - libtoolize for use by mod_ssl (name is now "ssleay" and not "SSLeay" to
match directory name and to differentiate from previous version)
- remove md5 symlink to ssleay (conflicts with /usr/bin/md5)
- move all include files to $PREFIX/include/ssleay (too much conflict
  potential in $PREFIX/include, not the least of which is md5.h)
- link rsaref glue goop right into libcrypto, only as required
- turn asm off on alpha temporarily while trying to find source of math
  errors on LP64
- set NOT_FOR_ARCHS=alpha *64 to prevent compiling on LP64 platforms
1998-12-03 17:29:58 +00:00

35 lines
1,021 B
Text

$NetBSD: patch-ab,v 1.8 1998/12/03 17:29:59 tv Exp $
--- Makefile.ssl.orig Fri Jun 26 04:25:25 1998
+++ Makefile.ssl Thu Dec 3 07:37:42 1998
@@ -1,6 +1,6 @@
#
# Makefile for all the SSL related library routines and utilities
-VERSION = 0.9.0a
+VERSION = 0.9.0b
#
# make install will install:
# libraries into $INSTALLTOP/lib
@@ -62,9 +62,12 @@
CC= cc
#CFLAG= -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall -Wuninitialized -DMD5_ASM -DSHA1_ASM -DRMD160_ASM
CFLAG= -O -DNOPROTO
-PEX_LIBS= -L. -L.. -L../.. -L../../..
+PEX_LIBS=
EX_LIBS=
AR=ar r
+.if defined(USE_RSAREF)
+EX_LIBS+=-Wl,-R${PREFIX}/lib -L${PREFIX}/lib -lrsaref
+.endif
# Set BN_MULW to bn_mulw.o if you want to use the C version
BN_MULW= bn_mulw.o
@@ -147,7 +150,7 @@
#RMD160_ASM_OBJ= asm/rm86-out.o # a.out, FreeBSD
#RMD160_ASM_OBJ= asm/rm86bsdi.o # bsdi
-DIRS= crypto ssl rsaref apps test tools
+DIRS= rsaref crypto ssl apps test tools
# dirs in crypto to build
SDIRS= \
md2 md5 sha mdc2 hmac ripemd \