--- apps/ca.c.orig	Thu Apr  9 06:59:27 1998
+++ apps/ca.c	Thu Oct 15 10:38:01 1998
@@ -82,7 +82,7 @@
 #define PROG ca_main
 
 #define BASE_SECTION	"ca"
-#define CONFIG_FILE "lib/ssleay.cnf"
+#define CONFIG_FILE "etc/ssleay.cnf"
 
 #define ENV_DEFAULT_CA		"default_ca"
 
--- util/FreeBSD.sh.orig	Wed Apr  8 23:07:28 1998
+++ util/FreeBSD.sh	Thu Oct 15 10:38:03 1998
@@ -2,5 +2,8 @@
 
 perl util/perlpath.pl /usr/bin
 perl util/ssldir.pl /usr/local  
-perl util/mk1mf.pl FreeBSD >Makefile.FreeBSD
-perl Configure FreeBSD
+if [ $PORTOBJFORMAT = elf ]; then
+	perl Configure FreeBSD-elf
+else
+	perl Configure FreeBSD
+fi
--- util/ssldir.pl.orig	Wed Apr  8 23:07:28 1998
+++ util/ssldir.pl	Thu Oct 15 10:38:20 1998
@@ -1,10 +1,9 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl
 
 $#ARGV == 0 || die "usage: ssldir.pl /new/path\n";
 @files=('crypto/cryptlib.h',
 	'Makefile.ssl',
 	'tools/c_rehash',
-	'util/mk1mf.pl',
 	);
 
 %cryptlib=(
@@ -22,14 +21,9 @@
 	'^DIR=',	'DIR=%s',
 	);
 
-%mk1mf=(
-	'^$INSTALLTOP=','$INSTALLTOP="%s";',
-	);
-
 &dofile("crypto/cryptlib.h",$ARGV[0],%cryptlib);
 &dofile("Makefile.ssl",$ARGV[0],%Makefile_ssl);
 &dofile("tools/c_rehash",$ARGV[0],%c_rehash);
-&dofile("util/mk1mf.pl",$ARGV[0],%mk1mf);
 
 sub dofile
 	{
