Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37817374
en ru br
ALT Linux repos
S:2020.2-alt1
5.0: 2002-alt6
4.1: 2002-alt6
4.0: 2002-alt5
3.0: 2002-alt5

Group :: Publishing
RPM: latex2html

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: latex2html-2020-alt-perlpath.patch
Download


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($]);
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin