You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-vcs/colorcvs/files/colorcvs-1.4-prefix.patch

30 lines
653 B

--- a/colorcvs
+++ b/colorcvs
@@ -54,7 +54,7 @@
sub initDefaults
{
- $cvsPath = "/usr/bin/cvs";
+ $cvsPath = "@GENTOO_PORTAGE_EPREFIX@/usr/bin/cvs";
$nocolor{"dumb"} = "true";
@@ -118,7 +118,7 @@
initDefaults();
# Read the configuration files.
-for my $configFile ('/etc/colorcvsrc', "$ENV{HOME}/.colorcvsrc") {
+for my $configFile ('@GENTOO_PORTAGE_EPREFIX@/etc/colorcvsrc', "$ENV{HOME}/.colorcvsrc") {
if (-f $configFile)
{
loadPreferences($configFile);
@@ -176,7 +176,7 @@
}
# Get the return code of the compiler and exit with that.
-waitpid($compiler_pid, 0);
+waitpid($cvs_pid, 0);
exit ($? >> 8);
# arch-tag: colorcvs