freebsd-ports/devel/tcl-trf/files/patch-loadman
Mikhail Teterin 8ad0c3adab Resolve a few more symbols at compile/link time, rather than at
run-time. This  fixes the  bz2 commands.  We link  against -lmd,  so use
<md2.h>  and <md5.h>,  instead  of <openssl/md[25].h>  (why  do we  even
install those separately?). Bump up portrevision.

Change the reference (in the comment) from -lscrypt to -lcrypt.
2002-02-17 16:03:11 +00:00

29 lines
593 B
Text

Use FreeBSD's native md2 and sha implementations instead of those from
the OpenSSL library.
-mi
--- generic/loadman.h Fri Feb 15 14:49:06 2002
+++ generic/loadman.h Fri Feb 15 14:50:48 2002
@@ -48,9 +48,5 @@
#ifdef HAVE_MD2_H
-# ifdef OPENSSL_SUB
-# include <openssl/md2.h>
-# else
-# include <md2.h>
-# endif
+# include <md2.h>
#else
# include "../compat/md2.h"
@@ -58,9 +54,5 @@
#ifdef HAVE_SHA_H
-# ifdef OPENSSL_SUB
-# include <openssl/sha.h>
-# else
-# include <sha.h>
-# endif
+# include <sha.h>
#else
# include "../compat/sha.h"