$OpenBSD: patch-tinyca,v 1.1.1.1 2004/12/20 22:42:22 msf Exp $
--- tinyca.orig	Wed Jun 16 14:55:29 2004
+++ tinyca	Fri Jul  2 15:49:12 2004
@@ -18,7 +18,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
 
-BEGIN { push(@INC, './lib'); # put here the location of the modules
+BEGIN { push(@INC, '%%PREFIX%%/lib/tinyca'); # put here the location of the modules
 }
 
 use strict;
@@ -48,14 +48,14 @@
 use TCONFIG;
 
 setlocale(LC_MESSAGES, "");
-bindtextdomain("tinyca", "./locale/");
+bindtextdomain("tinyca", "%%PREFIX%%/share/tinyca/locale/");
 textdomain("tinyca");
 
 my $init = {};
 
 # location of openssl
-$init->{'opensslbin'} = "/usr/bin/openssl";
-$init->{'zipbin'} = "/usr/bin/zip";
+$init->{'opensslbin'} = "/usr/sbin/openssl";
+$init->{'zipbin'} = "%%LOCALBASE%%/bin/zip";
 
 if(not -x $init->{'opensslbin'}) {
    printf(gettext("Can't execute %s.\n"), $init->{'opensslbin'});
@@ -69,7 +69,7 @@
 }
 
 # directory with the templates
-$init->{'templatedir'} = "./templates";
+$init->{'templatedir'} = "%%PREFIX%%/share/tinyca/templates";
 
 if(not -d $init->{'templatedir'}) {
    print gettext("Can't find templatedir.\n");
