1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/devel/cvsweb3/files/patch-cvsweb.cgi
Akinori MUSHA 156fa355eb Update to CVSweb 3.0.1 after a repocopy. Optional dependencies are
currently all enabled by default.
2004-05-12 07:02:16 +00:00

18 lines
483 B
Perl

--- cvsweb.cgi.orig Sat May 8 23:13:40 2004
+++ cvsweb.cgi Wed May 12 15:27:34 2004
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -T
+#!!!PERL!! -wT
#
# cvsweb - a CGI interface to CVS trees.
#
@@ -214,7 +214,7 @@
# == EDIT this ==
# Locations to search for user configuration, in order:
-for (catfile($mydir, 'cvsweb.conf'), '/usr/local/etc/cvsweb/cvsweb.conf') {
+for (catfile($mydir, 'cvsweb.conf'), '!!PREFIX!!/etc/cvsweb/cvsweb.conf') {
if (-r $_) {
$config = $_;
last;