Permalink
Browse files

Remove dependency on tr(1) for MinGW builds on Win32

This leaves things slightly (more) broken for MinGW builds on Cygwin,
but that doesn't currently quite work in other respects and isn't
documented anyway.  See:

http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-03/msg00751.html

p4raw-id: //depot/perl@24131
  • Loading branch information...
1 parent 407700f commit 31e0fb333baa3f4848b16dd03107480226ae8bc2 Steve Hay committed Apr 1, 2005
Showing with 2 additions and 6 deletions.
  1. +0 −4 pod/perl592delta.pod
  2. +2 −2 win32/makefile.mk
@@ -308,10 +308,6 @@ upgrades.
F<t/io/dup.t>, F<t/io/open.t> and F<lib/ExtUtils/t/Constant.t> fail some
tests on some BSD flavours.
-perl fails to compile on Win32 with MinGW, if you don't have the Cygwin
-tools installed, because the makefile currently relies on the presence of
-tr(1).
-
=head1 Plans for the next release
The current plan for perl 5.9.3 is to add CPANPLUS as a core module.
View
@@ -1082,7 +1082,7 @@ $(PERLDLL): perldll.def $(PERLDLL_OBJ) $(PERLDLL_RES) Extensions_static
.ELIF "$(CCTYPE)" == "GCC"
$(LINK32) -mdll -o $@ -Wl,--base-file -Wl,perl.base $(BLINK_FLAGS) \
$(mktmp $(LKPRE) $(PERLDLL_OBJ:s,\,$B,) \
- $(shell $(MINIPERL) -I..\lib buildext.pl --list-static-libs|tr \\\\ /) \
+ $(shell $(MINIPERL) -I..\lib buildext.pl --list-static-libs) \
$(LIBFILES) $(LKPOST))
dlltool --output-lib $(PERLIMPLIB) \
--dllname $(PERLDLL:b).dll \
@@ -1091,7 +1091,7 @@ $(PERLDLL): perldll.def $(PERLDLL_OBJ) $(PERLDLL_RES) Extensions_static
--output-exp perl.exp
$(LINK32) -mdll -o $@ $(BLINK_FLAGS) \
$(mktmp $(LKPRE) $(PERLDLL_OBJ:s,\,$B,) \
- $(shell $(MINIPERL) -I..\lib buildext.pl --list-static-libs|tr \\\\ /) \
+ $(shell $(MINIPERL) -I..\lib buildext.pl --list-static-libs) \
$(LIBFILES) perl.exp $(LKPOST))
.ELSE
$(LINK32) -dll -def:perldll.def -out:$@ \

0 comments on commit 31e0fb3

Please sign in to comment.