Commit 4fe2084ff5 for perl

commit 4fe2084ff5dab8abcfd6fb2ae72a6249fc307683
Author: Karl Williamson <khw@cpan.org>
Date:   Sun May 24 13:47:27 2026 -0600

    makedependfile.SH: Remove special case for z/OS

    Before, this largish sed script was almost entirely duplicated, using a
    pipe on os390, vs saving to files on every other system.  I don't know
    the reason, but now that we are using clang, we can use files with it,
    so can combine the two versions.

    I'm unsure of the motivation for many of the sed commands, but this
    commit preserves all of them, applying the ones that affected just one
    type to now the other type as well.  I'm pretty sure these won't harm
    anything.  For reference these are the commands that newly apply to
    z/OS:
        -e '1d'
        -e '/^#.*"\/.*\/"/d'
        -e '/: file path prefix .* never used$/d'

    And this is the one that newly applies to other platforms:

        -e '/".*In file included from.*:/d'

diff --git a/makedependfile.SH b/makedependfile.SH
index 649ceb5524..e11000db24 100644
--- a/makedependfile.SH
+++ b/makedependfile.SH
@@ -132,26 +132,6 @@ esac
 	    -e p                                               \
 	-e '}' | $grep -v ":" ) >UU/$file.c

-    if [ "$osname" = os390 ]; then
-        $cppstdin -DPERL_CORE $finc -I. $cppflags $cppminus <UU/$file.c | \
-        $sed \
-    	    -e '/^#.*<stdin>/d' \
-          -e '/^#.*<builtin>/d' \
-          -e '/^#.*<built-in>/d' \
-          -e '/^#.*<command line>/d' \
-          -e '/^#.*<command-line>/d' \
-          -e '/".*In file included from.*:/d' \
-	    -e '/^#.*"-"/d' \
-	    -e '/^#.*git_version\.h/d' \
-	    -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \
-	    -e 's/^[	 ]*#[	 ]*line/#/' \
-	    -e '/^# *[0-9][0-9]* *[".\/]/!d' \
-	    -e 's/^.*"\(.*\)".*$/'$filebase'\$(OBJ_EXT): \1/' \
-	    -e 's/^# *[0-9][0-9]* \(.*\)$/'$filebase'\$(OBJ_EXT): \1/' \
-	    -e 's|: \./|: |' \
-	    -e 's|\.c\.c|.c|' $uwinfix | \
-        $uniq | $sort | $uniq >>$outfile
-    else
         $cppstdin -DPERL_CORE $finc -I. $cppflags $cppminus <UU/$file.c >$$.cout 2>$$.cerr
         $sed \
 	    -e '1d' \
@@ -160,6 +140,7 @@ esac
             -e '/^#.*<built-in>/d' \
             -e '/^#.*<command line>/d' \
             -e '/^#.*<command-line>/d' \
+            -e '/".*In file included from.*:/d' \
 	    -e '/^#.*"-"/d' \
 	    -e '/^#.*"\/.*\/"/d' \
 	    -e '/: file path prefix .* never used$/d' \
@@ -174,7 +155,6 @@ esac
         $uniq | $sort | $uniq >> $outfile
         rm $$.cout
         rm $$.cerr
-    fi
     $echo "$filebase\$(OBJ_EXT): $@" >>$outfile

 !NO!SUBS!