The Cross install patch needs freshening for the new version.

The attached file should fix it, but I won't know for a few hours, since I accidentally blew away my whole build, and have to wait for everything else to build before I can get to perl again.

If anyone else is at a point in their cross build to quickly test this patch, please let me know it it's good.
otherwise I will confirm it tomorrow morning, when my build is done.

Jan
diff -ur perl-5.14.0/Makefile.SH perl-5.14.0.fix/Makefile.SH
--- perl-5.14.0/Makefile.SH     2011-05-16 17:55:16.000000000 -0400
+++ perl-5.14.0.fix/Makefile.SH 2011-05-16 18:06:19.000000000 -0400
@@ -627,7 +627,7 @@
        $(RUN) ./generate_uudmap$(HOST_EXE_EXT) uudmap.h bitcount.h
 
 generate_uudmap$(HOST_EXE_EXT): generate_uudmap$(OBJ_EXT)
-       $(CC) -o generate_uudmap$(EXE_EXT) $(LDFLAGS) generate_uudmap$(OBJ_EXT) 
$(libs)
+       $(HOSTCC) -o generate_uudmap$(EXE_EXT) $(LDFLAGS) 
generate_uudmap$(OBJ_EXT) $(libs)
 
 miniperlmain$(OBJ_EXT): miniperlmain.c patchlevel.h
        $(CCCMD) $(PLDLFLAGS) $*.c
@@ -1010,7 +1010,7 @@
 # But also this ensures that all extensions are built before we try to scan
 # them, which picks up Devel::PPPort's documentation.
 pod/perltoc.pod: $(perltoc_pod_prereqs)  $(PERL_EXE) $(ext) pod/buildtoc
-       $(RUN_PERL) -f -Ilib pod/buildtoc --build-toc -q
+       $(MINIPERL) -f -Ilib pod/buildtoc --build-toc -q
 
 pod/perlapi.pod: pod/perlintern.pod
 
@@ -1039,7 +1039,7 @@
        -@test ! -s extras.lst || PATH="`pwd`:${PATH}" PERL5LIB="`pwd`/lib" 
$(RUN_PERL) -Ilib -MCPAN -e '@ARGV&&test(@ARGV)' `cat extras.lst`
 
 extras.install: $(PERL_EXE)
-       -@test ! -s extras.lst || PATH="`pwd`:${PATH}" PERL5LIB="`pwd`/lib" 
$(RUN_PERL) -Ilib -MCPAN -e '@ARGV&&install(@ARGV)' `cat extras.lst`
+       -@test ! -s extras.lst || PATH="`pwd`:${PATH}" PERL5LIB="`pwd`/lib" 
$(MINIPERL) -Ilib -MCPAN -e '@ARGV&&install(@ARGV)' `cat extras.lst`
 
 .PHONY: install install-strip install-all install-verbose install-silent \
        no-install install.perl install.man install.html
@@ -1063,11 +1063,11 @@
 INSTALL_DEPENDENCE = all
 
 install.perl:  $(INSTALL_DEPENDENCE) installperl
-       $(RUN_PERL) installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) 
$(STRIPFLAGS)
+       $(MINIPERL) installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) 
$(STRIPFLAGS)
        -@test ! -s extras.lst || $(MAKE) extras.install
 
 install.man:   all installman
-       $(RUN_PERL) installman --destdir=$(DESTDIR) $(INSTALLFLAGS)
+       $(MINIPERL) installman --destdir=$(DESTDIR) $(INSTALLFLAGS)
 
 # XXX Experimental. Hardwired values, but useful for testing.
 # Eventually Configure could ask for some of these values.
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to