search for: perlpath

Displaying 2 results from an estimated 2 matches for "perlpath".

Did you mean: perl_path
2005 Mar 09
1
makeklcc.pl passes '' to ld if LDFLAGS empty among things
...+0200 @@ -13,7 +13,11 @@ my($s) = @_; $s =~ s/\s+/\',\'/g; - return "(\'".$s."\')"; + if ( $s ne "" ) { + return "(\'".$s."\')"; + } else { + return "()"; + } } print "#!${perlpath}\n"; ----- Or the more extreme: ----- --- 1/makeklcc.pl 2005-03-10 00:22:03.000000000 +0200 +++ 2/makeklcc.pl 2005-03-10 01:26:51.000000000 +0200 @@ -7,24 +7,14 @@ ($klccin, $klibcconf, $perlpath) = @ARGV; -# This should probably handle quotes and escapes... -sub string2list($...
2006 Jan 25
1
Don't hardcode paths in klcc
...pt but my hardcoding the paths you make it less portable. Signed-off-by: Martin Michlmayr <tbm@cyrius.com> --- klibc-1.1.16/klcc/makeklcc.pl~ 2006-01-25 21:30:48.000000000 +0000 +++ klibc-1.1.16/klcc/makeklcc.pl 2006-01-25 21:39:59.000000000 +0000 @@ -9,23 +9,6 @@ ($klccin, $klibcconf, $perlpath) = @ARGV; -sub pathsearch($) { - my($file) = @_; - my(@path); - my($p,$pp); - - if ( $file =~ /\// ) { - return File::Spec->rel2abs($file); - } - - foreach $p ( split(/\:/, $ENV{'PATH'}) ) { - $pp = File::Spec->rel2abs(File::Spec->catpath(undef, $p, $file));...