This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
makedepend.SH patch for AmigaOS from Jan-Erik Karlsson;
[perl5.git] / makedepend.SH
index 7f8a108..579be0b 100755 (executable)
@@ -18,6 +18,10 @@ case "$0" in
 */*) cd `expr X$0 : 'X\(.*\)/'` ;;
 esac
 
 */*) cd `expr X$0 : 'X\(.*\)/'` ;;
 esac
 
+case "$osname" in
+amigaos) cat=/bin/cat ;; # must be absolute
+esac
+
 echo "Extracting makedepend (with variable substitutions)"
 rm -f makedepend
 $spitshell >makedepend <<!GROK!THIS!
 echo "Extracting makedepend (with variable substitutions)"
 rm -f makedepend
 $spitshell >makedepend <<!GROK!THIS!