This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: [PATCH 5.005_03-MAINT-TRIAL1] some tweaks to the build process for OS/390
[perl5.git] / Makefile.SH
index 9a2566b..da2afdc 100644 (file)
@@ -662,21 +662,8 @@ os390)
         echo "perly.y -> perly.c" >&2
         mv -f y.tab.c perly.c
         chmod u+w perly.c
         echo "perly.y -> perly.c" >&2
         mv -f y.tab.c perly.c
         chmod u+w perly.c
-        sed -e '/^#include "perl\.h"/a\
-\
-#define yydebug    PL_yydebug\
-#define yynerrs    PL_yynerrs\
-#define yyerrflag  PL_yyerrflag\
-#define yychar     PL_yychar\
-#define yyval      PL_yyval\
-#define yylval     PL_yylval'                          \
-            -e '/YYSTYPE *yyval;/D'                    \
-            -e '/YYSTYPE *yylval;/D'                   \
-            -e '/int  yychar,/,/yynerrs;/D'            \
-            -e 's/int yydebug = 0;/yydebug = 0;/'      \
-            -e 's/[^_]realloc(/PerlMem_realloc(/g'     \
-            -e 's/fprintf *( *stderr *,/PerlIO_printf(Perl_debug_log,/g' \
-            -e 's/y\.tab/perly/g' perly.c >perly.tmp && mv perly.tmp perly.c
+       sed -e 's/fprintf *( *stderr *,/PerlIO_printf(Perl_debug_log,/g' \
+           -e 's/y\.tab/perly/g' perly.c >perly.tmp && mv perly.tmp perly.c
         xxx="$xxx perly.c"
     fi
     if cmp -s y.tab.h perly.h; then
         xxx="$xxx perly.c"
     fi
     if cmp -s y.tab.h perly.h; then