From: Steve Hay Date: Fri, 1 Apr 2005 08:18:27 +0000 (+0000) Subject: Remove dependency on tr(1) for MinGW builds on Win32 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=31e0fb333baa3f4848b16dd03107480226ae8bc2;p=p5sagit%2Fp5-mst-13.2.git 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 --- diff --git a/pod/perl592delta.pod b/pod/perl592delta.pod index 86a745e..12e27eb 100644 --- a/pod/perl592delta.pod +++ b/pod/perl592delta.pod @@ -308,10 +308,6 @@ upgrades. F, F and F 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. diff --git a/win32/makefile.mk b/win32/makefile.mk index 5502526..2eddc85 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -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:$@ \