FreeBSD Port: textproc/colordiff

martinko martinkov at pobox.sk
Sat Jan 7 04:56:03 PST 2006


hello,

i've just installed colordiff and noticed it refers to etc location 
which is not used on freebsd.
here's the patch to correct this:


--- /usr/local/bin/colordiff    Sat Jan  7 13:32:37 2006
+++ colordiff   Sat Jan  7 13:46:21 2006
@@ -68,7 +68,7 @@
 
 # Locations for personal and system-wide colour configurations
 my $HOME   = $ENV{HOME};
-my $etcdir = '/etc';
+my $etcdir = '/usr/local/etc';
 
 my ($setting, $value);
 my @config_files = ("$etcdir/colordiffrc", "$HOME/.colordiffrc");


regards,

martin



More information about the freebsd-ports mailing list