in reply to Is 5.6.1 just too old to be built?
--- perl-5.8.0/makedepend.SH 2002-07-09 10:06:42.000000000 -0400 +++ perl-5.8.0.jet/makedepend.SH 2009-02-08 09:55:51.000000000 -050 +0 @@ -123,7 +123,7 @@ *.y) filebase=`basename $file .y` ;; esac case "$file" in - */*) finc="-I`echo $file | sed 's#/[^/]*$##`" ;; + */*) finc="-I`echo $file | sed 's#/[^/]*$##'`" ;; *) finc= ;; esac $echo "Finding dependencies for $filebase$_o." @@ -157,6 +157,7 @@ -e '/^#.*<builtin>/d' \ -e '/^#.*<built-in>/d' \ -e '/^#.*<command line>/d' \ + -e '/^#.*<command-line>/d' \ -e '/^#.*"-"/d' \ -e '/: file path prefix .* never used$/d' \ -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \
My patch is actually for perl 5.8, but something really similar should work on 5.6
-Paul
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is 5.6.1 just too old to be built?
by Plankton (Vicar) on Apr 17, 2009 at 18:01 UTC |