Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37616361
en ru br
Репозитории ALT
S:2020.2-alt1
5.1: 2008-alt1
4.1: 2002-alt6
4.0: 2002-alt5
3.0: 2002-alt5
www.altlinux.org/Changes

Группа :: Издательство
Пакет: latex2html

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: latex2html-2020-alt-perlpath.patch
Скачать


diff --git a/config/config.pl b/config/config.pl
index c003fa2..879d257 100755
--- a/config/config.pl
+++ b/config/config.pl
@@ -622,7 +622,9 @@ my $abs_path_names = 1;
 if($opt{'PERL'}) {
   $newcfg{'PERL'} = &find_prog(&get_name('PERL',1));
 } else {
-  $newcfg{'PERL'} = &find_prog($^X); # take the perl internal executable name
+  require Config;
+  $newcfg{'PERL'} = &find_prog($Config::Config{perlpath}||$^X);
+  #$newcfg{'PERL'} = &find_prog($^X); # take the perl internal executable name
 }
 &checking('perl version');
 &result($]);
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin