openbsd-ports/www/reportmagic/patches/patch-rmagic_pl
naddy b2aa01ab84 Import reportmagic 2.13l; submitted by Sam Smith <s@msmith.net>.
This program is an add-on for Analog, which produces nice looking
reports from the analysis of your logfiles. It does not require
Analog to be installed, merely the output from analog to be available
2002-02-27 01:01:57 +00:00

18 lines
512 B
Plaintext

$OpenBSD: patch-rmagic_pl,v 1.1.1.1 2002/02/27 01:01:57 naddy Exp $
--- rmagic.pl.orig Fri Jan 18 10:13:00 2002
+++ rmagic.pl Wed Feb 27 01:49:51 2002
@@ -60,10 +60,11 @@ use File::Path;
use File::Spec;
# - Find execution directory
-use FindBin qw($RealBin);
+#use FindBin qw($RealBin);
+my $RealBin= '%%PREFIX%%/share/reportmagic/';
# - Add execution directory to lib path, resolving symbolic refs
-use lib $RealBin;
+use lib '%%PREFIX%%/share/reportmagic/';
# - Read INI files
use Config::IniFiles;