1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/www/awstats/files/patch-tools-awstats_updateall.pl
Marcus Alves Grando 0c26165008 Respect PREFIX
PR:		86481
Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com>
Approved by:	webmaster@lightningfire.net (maintainer timeout, 32 days)
2005-10-26 00:30:46 +00:00

14 lines
525 B
Perl

--- tools/awstats_updateall.pl.orig Mon Jun 7 08:27:26 2004
+++ tools/awstats_updateall.pl Thu Sep 22 01:30:15 2005
@@ -121,8 +121,8 @@
# Check if AWSTATS prog is found
my $AwstatsFound=0;
if (-s "$Awstats") { $AwstatsFound=1; }
- elsif (-s "/usr/local/awstats/wwwroot/cgi-bin/awstats.pl") {
- $Awstats="/usr/local/awstats/wwwroot/cgi-bin/awstats.pl";
+ elsif (-s "%%PREFIX%%/www/awstats/cgi-bin/awstats.pl") {
+ $Awstats="%%PREFIX%%/www/awstats/cgi-bin/awstats.pl";
$AwstatsFound=1;
}
if (! $AwstatsFound) {