This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add note about map in scalar context
[perl5.git] / makedepend.SH
index 74c3ecb..0f32da3 100755 (executable)
@@ -67,6 +67,7 @@ if test -f Makefile; then
     # to be out of date.  I don't know if OS/2 has touch, so do this:
     case "$osname" in
     os2) ;;
+    netbsd) ;;
     *) $touch $firstmakefile ;;
     esac
 fi
@@ -101,7 +102,11 @@ for file in `$cat .clist`; do
        if [ "$osname" = uwin ]; then
                uwinfix="-e s,\\\\\\\\,/,g -e s,\\([a-zA-Z]\\):/,/\\1/,g"
        else
-               uwinfix=
+               if [ "$osname" = os2 ]; then
+                       uwinfix="-e s,\\\\\\\\,/,g"
+               else
+                       uwinfix=
+               fi
        fi
     case "$file" in
     *.c) filebase=`basename $file .c` ;;