diff options
Diffstat (limited to 'net-misc/mirror/files/mirror-2.9-gentoo.diff')
-rw-r--r-- | net-misc/mirror/files/mirror-2.9-gentoo.diff | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net-misc/mirror/files/mirror-2.9-gentoo.diff b/net-misc/mirror/files/mirror-2.9-gentoo.diff new file mode 100644 index 000000000000..0fe91a38a036 --- /dev/null +++ b/net-misc/mirror/files/mirror-2.9-gentoo.diff @@ -0,0 +1,18 @@ +--- mirror.pl.dist Thu Apr 3 16:36:50 2003 ++++ mirror.pl Thu Apr 3 16:38:49 2003 +@@ -174,10 +174,14 @@ + $dir = &real_dir_from_path( $0 ); + unshift( @INC, $dir ); + +-# Debian GNU/Linux stores mirror.defaults in /etc/mirror ++# Debian GNU/Linux and Gentoo store mirror.defaults in /etc/mirror + $debian_defs = '/etc/mirror'; + unshift( @INC, $debian_defs ) if -d $debian_defs; + ++# Gentoo stores libraries in /usr/lib/mirror-2.9 ++$gentoo_libs = '/usr/lib/mirror-2.9'; ++unshift( @INC, $gentoo_libs ) if -d $gentoo_libs; ++ + # This, when eval'd, will get the current dir under windows NT/95 + $win_getcwd = 'Win32::GetCwd'; + |